summaryrefslogtreecommitdiff
path: root/gold/parameters.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-18 23:20:53 +0000
committerIan Lance Taylor <iant@google.com>2007-10-18 23:20:53 +0000
commit51b08ebe94b5dbaa1feb97d2b062e0098e277ea9 (patch)
treebfc86ec4e97c4879532a4539c94442130e70022f /gold/parameters.h
parentaf4a8a833e23e7d7bba9fa3c3b5ff9325dc3df94 (diff)
downloadbinutils-gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.gz
Add support for -Bsymbolic.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r--gold/parameters.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h
index 4a19cb67217..132aadab078 100644
--- a/gold/parameters.h
+++ b/gold/parameters.h
@@ -91,6 +91,12 @@ class Parameters
strip_debug() const
{ return this->strip_ == STRIP_ALL || this->strip_ == STRIP_DEBUG; }
+ // Whether we are doing a symbolic link, in which all defined
+ // symbols are bound locally.
+ bool
+ symbolic() const
+ { return this->symbolic_; }
+
// Whether we are doing a static link--a link in which none of the
// input files are shared libraries. This is only known after we
// have seen all the input files.
@@ -170,6 +176,8 @@ class Parameters
std::string sysroot_;
// Which symbols to strip.
Strip strip_;
+ // Whether we are doing a symbolic link.
+ bool symbolic_;
// Whether the doing_static_link_ field is valid.
bool is_doing_static_link_valid_;