forked from Imagelibrary/binutils-gdb
2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for weak symbols.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
|
||||||
|
weak symbols.
|
||||||
|
|
||||||
2003-07-22 Nick Clifton <nickc@redhat.com>
|
2003-07-22 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to
|
* coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to
|
||||||
|
|||||||
@@ -2519,10 +2519,6 @@ _bfd_elf_dynamic_symbol_p (h, info, ignore_protected)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user