forked from pool/binutils
19 lines
579 B
Diff
19 lines
579 B
Diff
|
2015-02-18 Alan Modra <amodra@gmail.com>
|
||
|
|
||
|
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);
|
||
|
}
|