diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-06-01 19:17:43 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-06-01 19:17:43 +0000 |
commit | 105b6afd921f7db737d25b712a439a3d388dbad1 (patch) | |
tree | 3e6463ad7ead03017a34678d3757c2ddb379dd4c /gold | |
parent | f8d3bf8f5206c7084bd9e639394c15716562a041 (diff) | |
download | fsf-binutils-gdb-105b6afd921f7db737d25b712a439a3d388dbad1.zip fsf-binutils-gdb-105b6afd921f7db737d25b712a439a3d388dbad1.tar.gz fsf-binutils-gdb-105b6afd921f7db737d25b712a439a3d388dbad1.tar.bz2 |
2010-06-01 Rafael Espindola <espindola@google.com>
* plugin.cc (Sized_pluginobj::::do_add_symbols): Correctly set the
visibility of symbols.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/plugin.cc | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index ef47e8e..8e8493f 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-06-01 Rafael Espindola <espindola@google.com> + + * plugin.cc (Sized_pluginobj::::do_add_symbols): Correctly set the + visibility of symbols. + 2010-05-27 Doug Kwan <dougkwan@google.com> * object.cc (Sized_relobj::do_finalize_local_symbols): Use offset 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: |