From: Cary Coutant Date: Mon, 10 Mar 2014 20:38:20 +0000 (-0700) Subject: Add function to set non-visibility part of st_other. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b12c500635117c977f5b64bc0fe23749aaf9acd;p=binutils-gdb.git Add function to set non-visibility part of st_other. 2014-03-10 Sasa Stankovic gold/ * symtab.h (Symbol::set_nonvis): New function. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 1e21236da05..6f1d88c6a61 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2014-03-10 Sasa Stankovic + + * symtab.h (Symbol::set_nonvis): New function. + 2014-03-10 Sasa Stankovic * symtab.cc (Sized_symbol<32>::init_output_data): diff --git a/gold/symtab.h b/gold/symtab.h index e50411f4fb6..b06c7b4b18c 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.