From 105b6afd921f7db737d25b712a439a3d388dbad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Tue, 1 Jun 2010 19:17:43 +0000 Subject: 2010-06-01 Rafael Espindola * plugin.cc (Sized_pluginobj::::do_add_symbols): Correctly set the visibility of symbols. --- gold/plugin.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/plugin.cc') 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::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: -- cgit v1.1