* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about
authorIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 04:18:55 +0000 (04:18 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 04:18:55 +0000 (04:18 +0000)
an undefined symbol in a shared link.

bfd/ChangeLog
bfd/xcofflink.c

index ddec123ed313ab171746306bcc0c6bd642de9be0..a9f4f956d9fbd2d28a875e2bf712511653092805 100644 (file)
@@ -1,5 +1,8 @@
 Thu Nov  2 23:16:39 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about
+       an undefined symbol in a shared link.
+
        * linker.c (_bfd_generic_link_add_one_symbol): Correct type of
        oldtype from bfd_link_order_type to bfd_link_hash_type.  From
        phdm@info.ucl.ac.be (Philippe De Muyter).
index a76a5373c8142d8e6cd9b55a8a659ea21b160607..8c38dd6ec40142510cb4cb3805b7c210cca74b3c 100644 (file)
@@ -5172,7 +5172,8 @@ _bfd_ppc_xcoff_relocate_section (output_bfd, info, input_bfd,
              /* Every symbol in a shared object is defined somewhere.  */
              val = 0;
            }
-         else if (! info->relocateable)
+         else if (! info->relocateable
+                  && ! info->shared)
            {
              if (! ((*info->callbacks->undefined_symbol)
                     (info, h->root.root.string, input_bfd, input_section,