aboutsummaryrefslogtreecommitdiff
path: root/gold/options.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/options.h
parentaf4a8a833e23e7d7bba9fa3c3b5ff9325dc3df94 (diff)
downloadgdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.zip
gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.gz
gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.bz2
Add support for -Bsymbolic.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index fd43de3..701aa9c 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -144,6 +144,11 @@ class General_options
strip_debug() const
{ return this->strip_ == STRIP_ALL || this->strip_ == STRIP_DEBUG; }
+ // -Bsymbolic: bind defined symbols locally.
+ bool
+ symbolic() const
+ { return this->symbolic_; }
+
// --eh-frame-hdr: Whether to generate an exception frame header.
bool
create_eh_frame_hdr() const
@@ -267,6 +272,10 @@ class General_options
{ this->strip_ = STRIP_DEBUG; }
void
+ set_symbolic()
+ { this->symbolic_ = true; }
+
+ void
set_create_eh_frame_hdr()
{ this->create_eh_frame_hdr_ = true; }
@@ -366,6 +375,7 @@ class General_options
const char* output_file_name_;
bool is_relocatable_;
Strip strip_;
+ bool symbolic_;
bool create_eh_frame_hdr_;
Dir_list rpath_;
Dir_list rpath_link_;