aboutsummaryrefslogtreecommitdiff
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
commit1ebd95fdf1ebf842d59c98715fa7b62ba85f0c83 (patch)
tree712e3e081348abc7134d94f2546db96c21b38c7f /gold/symtab.h
parentae13662f958ab4a001294eb832f0dc058fc7c8fa (diff)
downloadgdb-1ebd95fdf1ebf842d59c98715fa7b62ba85f0c83.zip
gdb-1ebd95fdf1ebf842d59c98715fa7b62ba85f0c83.tar.gz
gdb-1ebd95fdf1ebf842d59c98715fa7b62ba85f0c83.tar.bz2
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 cba97d0..15d1f78 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()