diff options
author | Cary Coutant <ccoutant@google.com> | 2014-03-10 13:38:20 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2014-03-10 13:38:20 -0700 |
commit | 9b12c500635117c977f5b64bc0fe23749aaf9acd (patch) | |
tree | c6a8db17c0d72cc2ba873a88183a0fad862af2b6 /gold/symtab.h | |
parent | beacaa966be202228a7905474013dfb199f36e14 (diff) | |
download | gdb-9b12c500635117c977f5b64bc0fe23749aaf9acd.zip gdb-9b12c500635117c977f5b64bc0fe23749aaf9acd.tar.gz gdb-9b12c500635117c977f5b64bc0fe23749aaf9acd.tar.bz2 |
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.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 5 |
1 files changed, 5 insertions, 0 deletions
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. |