aboutsummaryrefslogtreecommitdiff
path: root/gold/powerpc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r--gold/powerpc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index ac8d05b..4deb5af 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -6551,6 +6551,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);
}