diff options
-rw-r--r-- | gold/ChangeLog | 4 | ||||
-rw-r--r-- | gold/symtab.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 1e21236..6f1d88c 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,9 @@ 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): Instantiate the template. (Sized_symbol<64>::init_output_data): Likewise. diff --git a/gold/symtab.h b/gold/symtab.h index e50411f..b06c7b4 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -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. |