aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-10-20 20:40:49 +0000
committerIan Lance Taylor <iant@google.com>2006-10-20 20:40:49 +0000
commit92e059d8dc78c3f65e29e48e368f6e47ea0ab671 (patch)
treef448eb3317d9cbb0f5946422cc28ef157a5f65cb /gold/symtab.h
parentaf4658dc3db33004d6166b161588221ecb463a5f (diff)
downloadfsf-binutils-gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.zip
fsf-binutils-gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.tar.gz
fsf-binutils-gdb-92e059d8dc78c3f65e29e48e368f6e47ea0ab671.tar.bz2
Framework for relocation scanning. Implement simple static TLS
relocations.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index 23d54e4..2c5fbc9 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -94,6 +94,12 @@ class Symbol
set_in_dyn()
{ this->in_dyn_ = true; }
+ // Return whether this symbol needs an entry in the dynamic symbol
+ // table. FIXME: Needs to be fleshed out.
+ bool
+ in_dynsym() const
+ { return this->in_dyn_; }
+
protected:
// Instances of this class should always be created at a specific
// size.