FreeBSD/contrib/binutils/bfd/elflink.c
/* This function is used to adjust offsets into .dynstr for
   dynamic symbols.  This is called via elf_link_hash_traverse.  */
This function is used to adjust offsets into .dynstr for
dynamic symbols.  This is called via elf_link_hash_traverse.
This function is used to adjust offsets into . dynstr for dynamic symbols . This is called via elf_link_hash_traverse .
static bfd_boolean
elf_adjust_dynstr_offsets (struct elf_link_hash_entry *h, void *data)
{
  struct elf_strtab_hash *dynstr = data;
  if (h->root.type == bfd_link_hash_warning)
    h = (struct elf_link_hash_entry *) h->root.u.i.link;
  if (h->dynindx != -1)
    h->dynstr_index = _bfd_elf_strtab_offset (dynstr, h->dynstr_index);
  return TRUE;
}
static bfd_boolean elf_adjust_dynstr_offsets ( struct elf_link_hash_entry * h , void * data ) { struct elf_strtab_hash * dynstr = data ; if ( h -> root . type == bfd_link_hash_warning ) h = ( struct elf_link_hash_entry * ) h -> root . u . i . link ; if ( h -> dynindx != -1 ) h -> dynstr_index = _bfd_elf_strtab_offset ( dynstr , h -> dynstr_index ) ; return TRUE ; }
This function is used to adjust offsets into .dynstr for
dynamic symbols.
This function is used to adjust offsets into . dynstr for dynamic symbols .