mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
PR gold/12818
* symtab.cc (Symbol::should_add_dynsym_entry): Don't add undefined symbols which are not used in a relocation.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2011-06-29 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
PR gold/12818
|
||||||
|
* symtab.cc (Symbol::should_add_dynsym_entry): Don't add undefined
|
||||||
|
symbols which are not used in a relocation.
|
||||||
|
|
||||||
2011-06-28 Ian Lance Taylor <iant@google.com>
|
2011-06-28 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
PR gold/12898
|
PR gold/12898
|
||||||
|
@ -414,6 +414,7 @@ Symbol::should_add_dynsym_entry(Symbol_table* symtab) const
|
|||||||
// externally visible, we need to add it.
|
// externally visible, we need to add it.
|
||||||
if ((parameters->options().export_dynamic() || parameters->options().shared())
|
if ((parameters->options().export_dynamic() || parameters->options().shared())
|
||||||
&& !this->is_from_dynobj()
|
&& !this->is_from_dynobj()
|
||||||
|
&& !this->is_undefined()
|
||||||
&& this->is_externally_visible())
|
&& this->is_externally_visible())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user