mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
Add function to set non-visibility part of st_other.
2014-03-10 Sasa Stankovic <Sasa.Stankovic@imgtec.com> gold/ * symtab.h (Symbol::set_nonvis): New function.
This commit is contained in:
parent
beacaa966b
commit
9b12c50063
@ -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):
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user