aboutsummaryrefslogtreecommitdiff
path: root/gold/plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/plugin.cc')
-rw-r--r--gold/plugin.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/plugin.cc b/gold/plugin.cc
index 2ee1301..a7bdbb5 100644
--- a/gold/plugin.cc
+++ b/gold/plugin.cc
@@ -647,13 +647,13 @@ Sized_pluginobj<size, big_endian>::do_add_symbols(Symbol_table* symtab,
switch (isym->visibility)
{
case LDPV_PROTECTED:
- vis = elfcpp::STV_DEFAULT;
+ vis = elfcpp::STV_PROTECTED;
break;
case LDPV_INTERNAL:
- vis = elfcpp::STV_DEFAULT;
+ vis = elfcpp::STV_INTERNAL;
break;
case LDPV_HIDDEN:
- vis = elfcpp::STV_DEFAULT;
+ vis = elfcpp::STV_HIDDEN;
break;
case LDPV_DEFAULT:
default: