FreeBSD/contrib/binutils/bfd/elflink.c
/* Create a strtab to hold the dynamic symbol names.  */
Create a strtab to hold the dynamic symbol names.
Create a strtab to hold the dynamic symbol names .
static bfd_boolean
_bfd_elf_link_create_dynstrtab (bfd *abfd, struct bfd_link_info *info)
{
  struct elf_link_hash_table *hash_table;
  hash_table = elf_hash_table (info);
  if (hash_table->dynobj == NULL)
    hash_table->dynobj = abfd;
  if (hash_table->dynstr == NULL)
    {
      hash_table->dynstr = _bfd_elf_strtab_init ();
      if (hash_table->dynstr == NULL)
	return FALSE;
    }
  return TRUE;
}
static bfd_boolean _bfd_elf_link_create_dynstrtab ( bfd * abfd , struct bfd_link_info * info ) { struct elf_link_hash_table * hash_table ; hash_table = elf_hash_table ( info ) ; if ( hash_table -> dynobj == NULL ) hash_table -> dynobj = abfd ; if ( hash_table -> dynstr == NULL ) { hash_table -> dynstr = _bfd_elf_strtab_init ( ) ; if ( hash_table -> dynstr == NULL ) return FALSE ; } return TRUE ; }
Create a strtab to hold the dynamic symbol names.
Create a strtab to hold the dynamic symbol names .