Found when applying relocs in .debug that reference removed functions.
PR 17954
* powerpc.cc (Global_symbol_visitor_opd::operator()): Set default
visibility.
+2015-02-18 Alan Modra <amodra@gmail.com>
+
+ PR 17954
+ * powerpc.cc (Global_symbol_visitor_opd::operator()): Set default
+ visibility.
+
2015-02-17 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
* gc.h (Garbage_collection::add_reference): Don't use find.
&& symobj->get_opd_discard(sym->value()))
{
sym->set_undefined();
+ sym->set_visibility(elfcpp::STV_DEFAULT);
sym->set_is_defined_in_discarded_section();
sym->set_symtab_index(-1U);
}