From 18a9609c03513f4b73136b7c7ed76befbed8d23a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 3 Nov 1995 04:18:55 +0000 Subject: [PATCH] * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about an undefined symbol in a shared link. --- bfd/ChangeLog | 3 +++ bfd/xcofflink.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ddec123ed31..a9f4f956d9f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ Thu Nov 2 23:16:39 1995 Ian Lance Taylor + * 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). diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index a76a5373c81..8c38dd6ec40 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -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, -- 2.30.2