2010-06-01 Rafael Espindola <espindola@google.com>

* plugin.cc (Sized_pluginobj::::do_add_symbols): Correctly set the
	visibility of symbols.
This commit is contained in:
Rafael Ávila de Espíndola 2010-06-01 19:17:43 +00:00
parent f8d3bf8f52
commit 105b6afd92
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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: