diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-18 23:20:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-18 23:20:53 +0000 |
commit | 51b08ebe94b5dbaa1feb97d2b062e0098e277ea9 (patch) | |
tree | bfc86ec4e97c4879532a4539c94442130e70022f /gold/parameters.h | |
parent | af4a8a833e23e7d7bba9fa3c3b5ff9325dc3df94 (diff) | |
download | gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.zip gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.gz gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.bz2 |
Add support for -Bsymbolic.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r-- | gold/parameters.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h index 4a19cb6..132aada 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_; |