2015-02-18 Alan Modra PR 17954 * powerpc.cc (Global_symbol_visitor_opd::operator()): Set default visibility. Index: binutils-2.25.0/gold/powerpc.cc =================================================================== --- binutils-2.25.0.orig/gold/powerpc.cc +++ binutils-2.25.0/gold/powerpc.cc @@ -6466,6 +6466,7 @@ class Global_symbol_visitor_opd && 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); }