2010-02-08 Rafael Ávila de Espíndola <respindola@mozilla.com>
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Tue, 8 Feb 2011 05:03:19 +0000 (05:03 +0000)
committerRafael Ávila de Espíndola <respindola@mozilla.com>
Tue, 8 Feb 2011 05:03:19 +0000 (05:03 +0000)
* plugin.cc (is_visible_from_outside): Return true for symbols
in the -u option.

gold/ChangeLog
gold/plugin.cc

index ef5ab361c595bc61e904ba2822ee779b59395145..ce6cc0188ca8a2edc51df5d25d717980d6e47efb 100644 (file)
@@ -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
index 9c444c2701de1fc9246c9807403c04b1a9244d43..214eff30bb6e932a1f853015b6665644e11e9b73 100644 (file)
@@ -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;
This page took 0.044971 seconds and 4 git commands to generate.