FreeBSD/contrib/binutils/bfd/elflink.c
/* Find the first non-excluded output section.  We'll use its
   section symbol for some emitted relocs.  */
Find the first non-excluded output section.  We'll use its
section symbol for some emitted relocs.
Find the first non - excluded output section . We ' ll use its section symbol for some emitted relocs .
void
_bfd_elf_init_1_index_section (bfd *output_bfd, struct bfd_link_info *info)
{
  asection *s;
  for (s = output_bfd->sections; s != NULL; s = s->next)
    if ((s->flags & (SEC_EXCLUDE | SEC_ALLOC)) == SEC_ALLOC
	&& !_bfd_elf_link_omit_section_dynsym (output_bfd, info, s))
      {
	elf_hash_table (info)->text_index_section = s;
	break;
      }
}
void _bfd_elf_init_1_index_section ( bfd * output_bfd , struct bfd_link_info * info ) { asection * s ; for ( s = output_bfd -> sections ; s != NULL ; s = s -> next ) if ( ( s -> flags & ( SEC_EXCLUDE | SEC_ALLOC ) ) == SEC_ALLOC && ! _bfd_elf_link_omit_section_dynsym ( output_bfd , info , s ) ) { elf_hash_table ( info ) -> text_index_section = s ; break ; } }
Find the first non-excluded output section.
Find the first non - excluded output section .