Add function to set non-visibility part of st_other.
authorCary Coutant <ccoutant@google.com>
Mon, 10 Mar 2014 20:38:20 +0000 (13:38 -0700)
committerCary Coutant <ccoutant@google.com>
Mon, 10 Mar 2014 20:38:20 +0000 (13:38 -0700)
2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

gold/
* symtab.h (Symbol::set_nonvis): New function.

gold/ChangeLog
gold/symtab.h

index 1e21236da05fdd7e721bba7ba4facafec3361a58..6f1d88c6a6135dc727214c9eba276367e192fb95 100644 (file)
@@ -1,3 +1,7 @@
+2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
+
+       * symtab.h (Symbol::set_nonvis): New function.
+
 2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
 
        * symtab.cc (Sized_symbol<32>::init_output_data):
index e50411f4fb60577ff552ff326efce110705744c3..b06c7b4b18c2dd01b98c01b47cfcf8da6f42ca28 100644 (file)
@@ -259,6 +259,11 @@ class Symbol
   nonvis() const
   { return this->nonvis_; }
 
+  // Set the non-visibility part of the st_other field.
+  void
+  set_nonvis(unsigned int nonvis)
+  { this->nonvis_ = nonvis; }
+
   // Return whether this symbol is a forwarder.  This will never be
   // true of a symbol found in the hash table, but may be true of
   // symbol pointers attached to object files.
This page took 0.052656 seconds and 4 git commands to generate.