* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about

an undefined symbol in a shared link.
This commit is contained in:
Ian Lance Taylor 1995-11-03 04:18:55 +00:00
parent 68aed7db3b
commit 18a9609c03
2 changed files with 5 additions and 1 deletions

View 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).

View 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,