aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-08-22 17:07:36 +0000
committerIan Lance Taylor <iant@google.com>2007-08-22 17:07:36 +0000
commit7da52175b67c0b246a073f10bf07bdd26912c2a4 (patch)
tree54aa84e9c38bd19523bd6068455e64eaf7f08fee /gold/options.h
parenteae50df29b874599032ad43b483a64ef3b23a640 (diff)
downloadgdb-7da52175b67c0b246a073f10bf07bdd26912c2a4.zip
gdb-7da52175b67c0b246a073f10bf07bdd26912c2a4.tar.gz
gdb-7da52175b67c0b246a073f10bf07bdd26912c2a4.tar.bz2
Recognize and ignore the --eh-frame-hdr option.
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 05203b1..7b1fe67 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -64,6 +64,11 @@ class General_options
is_relocatable() const
{ return this->is_relocatable_; }
+ // --eh-frame-hdr: Whether to generate an exception frame header.
+ bool
+ create_eh_frame_hdr() const
+ { return this->create_eh_frame_hdr_; }
+
// --rpath: The runtime search path.
const Dir_list&
rpath() const
@@ -108,6 +113,10 @@ class General_options
{ this->is_relocatable_ = true; }
void
+ create_eh_frame_hdr()
+ { this->create_eh_frame_hdr_ = true; }
+
+ void
add_to_rpath(const char* arg)
{ this->rpath_.push_back(arg); }
@@ -128,6 +137,7 @@ class General_options
Dir_list search_path_;
const char* output_file_name_;
bool is_relocatable_;
+ bool create_eh_frame_hdr_;
Dir_list rpath_;
bool is_shared_;
bool is_static_;