* xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC.
authorIan Lance Taylor <ian@airs.com>
Wed, 8 Nov 1995 18:17:44 +0000 (18:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 8 Nov 1995 18:17:44 +0000 (18:17 +0000)
commit0634a431423265b525681625d2796346428c53b0
tree893b2f2331fae71edb96fb2b1143ad0c32801d75
parent9d3d323a2bb0b4447a1ad6bb948a26ed28e48e57
* xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC.
Change all uses.
(xcoff_swap_ldhdr_in): New static function.
(xcoff_swap_ldsym_in): New static function.
(xcoff_link_add_symbols): If we just created a descriptor, pass it
to _bfd_generic_link_add_one_symbol, to save a hash lookup.
(xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols
rather than normal symbol table.
(xcoff_mark): When considering called symbols, check whether the
descriptor is from a dynamic object, rather than the symbol
itself.
(xcoff_build_ldsyms): Likewise.
bfd/ChangeLog
bfd/xcofflink.c