summaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-22 00:05:51 +0000
committerIan Lance Taylor <iant@google.com>2007-11-22 00:05:51 +0000
commit1b850931727a7dde9ab7163e754c3e34fbcfb266 (patch)
tree51955f56e46aee14c874d626a89a8564ebc97847 /gold/symtab.h
parent6913423cf54d35a1b05ed7c7dff91ebf967a8292 (diff)
downloadbinutils-redhat-1b850931727a7dde9ab7163e754c3e34fbcfb266.tar.gz
Add threading support.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index b6e550463e..9c7fb0935c 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -598,6 +598,11 @@ class Symbol
void
override_base_with_special(const Symbol* from);
+ // Allocate a common symbol by giving it a location in the output
+ // file.
+ void
+ allocate_base_common(Output_data*);
+
private:
Symbol(const Symbol&);
Symbol& operator=(const Symbol&);
@@ -798,6 +803,11 @@ class Sized_symbol : public Symbol
set_value(Value_type value)
{ this->value_ = value; }
+ // Allocate a common symbol by giving it a location in the output
+ // file.
+ void
+ allocate_common(Output_data*, Value_type value);
+
private:
Sized_symbol(const Sized_symbol&);
Sized_symbol& operator=(const Sized_symbol&);