* xcofflink.c (xcoff_link_add_symbols): When considering whether
authorIan Lance Taylor <ian@airs.com>
Thu, 13 Jun 1996 00:16:39 +0000 (00:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 13 Jun 1996 00:16:39 +0000 (00:16 +0000)
to replace a symbol in a dynamic object with a symbol from another
dynamic object, do the replacement if the existing symbol is
global linkage code.
PR 9860.
Also fix a couple of comment typos and indentation problems.

bfd/ChangeLog

index 4832a0f..6d9267c 100644 (file)
@@ -1,5 +1,10 @@
 Wed Jun 12 11:16:37 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * xcofflink.c (xcoff_link_add_symbols): When considering whether
+       to replace a symbol in a dynamic object with a symbol from another
+       dynamic object, do the replacement if the existing symbol is
+       global linkage code.
+
        * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly
        for _ptrgl, and treat it as global linkage code.