2010-02-08 Rafael Ávila de Espíndola <respindola@mozilla.com>
* plugin.cc (is_visible_from_outside): Return true for symbols in the -u option.
This commit is contained in:
parent
df22d22333
commit
84ced98a31
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-02-08 Rafael Ávila de Espíndola <respindola@mozilla.com>
|
||||
|
||||
* plugin.cc (is_visible_from_outside): Return true for symbols
|
||||
in the -u option.
|
||||
|
||||
2011-02-04 Jeffrey Yasskin <jyasskin@google.com>
|
||||
|
||||
* symtab.cc (Odr_violation_compare::operator()): Sort by just the
|
||||
|
|
|
@ -699,6 +699,8 @@ is_visible_from_outside(Symbol* lsym)
|
|||
return true;
|
||||
if (parameters->options().relocatable())
|
||||
return true;
|
||||
if (parameters->options().is_undefined(lsym->name()))
|
||||
return true;
|
||||
if (parameters->options().export_dynamic() || parameters->options().shared())
|
||||
return lsym->is_externally_visible();
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue