aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
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.cc
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.cc')
-rw-r--r--gold/options.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 12703bd..af168ad 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -252,6 +252,8 @@ options::Command_line_options::options[] =
GENERAL_ARG('R', "rpath", N_("Add directory to runtime search path"),
N_("-R DIR, -rpath DIR"), ONE_DASH,
&General_options::add_to_rpath),
+ GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
+ NULL, TWO_DASHES, &General_options::create_eh_frame_hdr),
GENERAL_NOARG('\0', "shared", N_("Generate shared library"),
NULL, ONE_DASH, &General_options::set_shared),
GENERAL_NOARG('\0', "static", N_("Do not link against shared libraries"),
@@ -285,6 +287,7 @@ General_options::General_options()
search_path_(),
output_file_name_("a.out"),
is_relocatable_(false),
+ create_eh_frame_hdr_(false),
rpath_(),
is_shared_(false),
is_static_(false)