* linker.c (bfd_wrapped_link_hash_lookup): New function.
authorIan Lance Taylor <ian@airs.com>
Tue, 12 Mar 1996 23:14:58 +0000 (23:14 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 12 Mar 1996 23:14:58 +0000 (23:14 +0000)
commit8881b321e06d93be5b37a5504359347b0e104bf0
treee84ed35375674611a351c247b6b4446b69e53c46
parent063c5ee025fb687888bdf34f84770334e32c1a50
* linker.c (bfd_wrapped_link_hash_lookup): New function.
(_bfd_generic_link_add_one_symbol): Remove BFD_ASSERT on hash
table string.  Use bfd_wrapped_link_hash_lookup.
(_bfd_generic_link_write_global_symbol): Remove BFD_ASSERT on hash
table string.
* aoutx.h (aout_link_write_symbols): Use the name from the hash
table, if any, when writing out symbols.
(aout_link_input_section_std): Use the name from the hash table,
if any, when reporting undefined symbols.
(aout_link_input_section_ext): Likewise.
(aout_link_reloc_link_order): Use bfd_wrapped_link_hash_lookup.
* bout.c (get_value): Likewise.
* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
* ecoff.c (ecoff_reloc_link_order): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.
(elf_reloc_link_order): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
(_bfd_generic_reloc_link_order): Likewise.
(default_indirect_link_order): Likewise.
* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Likewise.
(bfd_xcoff_link_count_reloc): Likewise.
(xcoff_reloc_link_order): Likewise.
bfd/ChangeLog
bfd/elflink.h