* elflink.h (elf_link_add_object_symbols): Only set weakdef to a

real defined symbol, not to a weak defined symbol.
This commit is contained in:
Ian Lance Taylor 1996-01-29 18:09:20 +00:00
parent e185ddefd3
commit d2bb6c7900
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 29 13:06:28 1996 Ian Lance Taylor <ian@cygnus.com>
* elflink.h (elf_link_add_object_symbols): Only set weakdef to a
real defined symbol, not to a weak defined symbol.
Mon Jan 29 11:34:36 1996 Kim Knuttila <krk@cygnus.com>
* cofflink.c: removed the POWERPC_LE_PE hack, promoted some types

View File

@ -868,8 +868,7 @@ elf_link_add_object_symbols (abfd, info)
h = *hpp;
if (h != NULL && h != hlook
&& (h->root.type == bfd_link_hash_defined
|| h->root.type == bfd_link_hash_defweak)
&& h->root.type == bfd_link_hash_defined
&& h->root.u.def.section == slook
&& h->root.u.def.value == vlook)
{