* symtab.cc (Symbol::should_add_dynsym_entry): Don't add undefined
symbols which are not used in a relocation.
+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>
PR gold/12898
// externally visible, we need to add it.
if ((parameters->options().export_dynamic() || parameters->options().shared())
&& !this->is_from_dynobj()
+ && !this->is_undefined()
&& this->is_externally_visible())
return true;