diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-07-22 15:52:44 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-07-22 15:52:44 +0000 |
commit | ecc27c311f880150773a48ae50062358cbb5bf3e (patch) | |
tree | 65d242a726a9e84417c18f9ea749099f8d1b94b9 /bfd/elflink.c | |
parent | 8bc2021fdcd6e4a91a4ae0cfe81c518112fc5c0f (diff) | |
download | gdb-ecc27c311f880150773a48ae50062358cbb5bf3e.zip gdb-ecc27c311f880150773a48ae50062358cbb5bf3e.tar.gz gdb-ecc27c311f880150773a48ae50062358cbb5bf3e.tar.bz2 |
2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
weak symbols.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 322bb3d..ea0b8d0 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -2519,10 +2519,6 @@ _bfd_elf_dynamic_symbol_p (h, info, ignore_protected) break; default: - /* With STV_DEFAULT, weak symbols do not bind locally. */ - if (h->root.type == bfd_link_hash_undefweak - || h->root.type == bfd_link_hash_defweak) - return TRUE; break; } |