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/options.h | |
parent | af4a8a833e23e7d7bba9fa3c3b5ff9325dc3df94 (diff) | |
download | gdb-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.h | 10 |
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_; |