summaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-08-29 03:42:51 +0000
committerIan Lance Taylor <iant@google.com>2007-08-29 03:42:51 +0000
commit3bd4db95fbc7207ddcb4cdde3a229a7fec59fc1f (patch)
tree42c23fc39df415db3591d42b4661d7210125ae9f /gold/symtab.h
parenta09e133c9f1fa4b06a42af551a72ea35865cc0b3 (diff)
downloadbinutils-redhat-3bd4db95fbc7207ddcb4cdde3a229a7fec59fc1f.tar.gz
Copy in_reg and in_dyn when resolving NAME/VERSION with NAME/NULL.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index cba97d0bf9..15d1f788eb 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -195,6 +195,11 @@ class Symbol
set_in_reg()
{ this->in_reg_ = true; }
+ // Return whether this symbol has been seen in a dynamic object.
+ bool
+ in_dyn() const
+ { return this->in_dyn_; }
+
// Mark this symbol as having been seen in a dynamic object.
void
set_in_dyn()