diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-29 18:09:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-29 18:09:20 +0000 |
commit | d2bb6c790012b31373abcf852df492d8c698992f (patch) | |
tree | bdeae5b7c45a09b380c3c896154fac3f0d5072c3 /bfd | |
parent | e185ddefd3e745bf7bb54f198c52a061b0b2ce51 (diff) | |
download | gdb-d2bb6c790012b31373abcf852df492d8c698992f.zip gdb-d2bb6c790012b31373abcf852df492d8c698992f.tar.gz gdb-d2bb6c790012b31373abcf852df492d8c698992f.tar.bz2 |
* elflink.h (elf_link_add_object_symbols): Only set weakdef to a
real defined symbol, not to a weak defined symbol.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elflink.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 70bc39a..16313a5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elflink.h b/bfd/elflink.h index a6e0f96..c656ac1 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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) { |