FreeBSD/contrib/binutils/bfd/elf.c
/* Given an ELF section number, retrieve the corresponding BFD
   section.  */
Given an ELF section number, retrieve the corresponding BFD
section.
Given an ELF section number retrieve the corresponding BFD section .
asection *
bfd_section_from_elf_index (bfd *abfd, unsigned int index)
{
  if (index >= elf_numsections (abfd))
    return NULL;
  return elf_elfsections (abfd)[index]->bfd_section;
}
asection * bfd_section_from_elf_index ( bfd * abfd , unsigned int index ) { if ( index >= elf_numsections ( abfd ) ) return NULL ; return elf_elfsections ( abfd ) [ index ] -> bfd_section ; }
Given an ELF section number, retrieve the corresponding BFD
section.
Given an ELF section number retrieve the corresponding BFD section .