Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(745)

Unified Diff: gold/symtab.h

Issue 10252012: [MIPS] Initial checkin for MIPS changes for GOLD. (Closed)
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gold/symtab.h
===================================================================
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -255,6 +255,11 @@
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.
@@ -1565,6 +1570,11 @@
version_script() const
{ return version_script_; }
+ // Return index of the first global symbol with .got entry.
+ unsigned int
+ global_got_index() const
+ { return this->global_got_index_; }
+
private:
Symbol_table(const Symbol_table&);
Symbol_table& operator=(const Symbol_table&);
@@ -1887,6 +1897,8 @@
const Version_script_info& version_script_;
Garbage_collection* gc_;
Icf* icf_;
+ // Index of the first global symbol that has .got entry.
robertm 2012/04/27 19:46:15 if this is only used for MIPS, it maybe worth to d
Aleksandar Simeonov 2012/05/08 15:21:42 The dynamic symbol table is divided into local and
+ unsigned int global_got_index_;
};
// We inline get_sized_symbol for efficiency.

Powered by Google App Engine
This is Rietveld 408576698