diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-03 04:18:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-03 04:18:55 +0000 |
commit | 18a9609c03513f4b73136b7c7ed76befbed8d23a (patch) | |
tree | 4858d26f7a1cb13d3fe28e2985035c8154c6ab52 | |
parent | 68aed7db3bdbfe5e3d186cde2a2471b3024df592 (diff) | |
download | gdb-18a9609c03513f4b73136b7c7ed76befbed8d23a.zip gdb-18a9609c03513f4b73136b7c7ed76befbed8d23a.tar.gz gdb-18a9609c03513f4b73136b7c7ed76befbed8d23a.tar.bz2 |
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about
an undefined symbol in a shared link.
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/xcofflink.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ddec123..a9f4f95 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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). diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index a76a537..8c38dd6 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, |