aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 4ddb1ac..bd9f797 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -334,6 +334,10 @@ options::Command_line_options::options[] =
GENERAL_ARG('R', "rpath", N_("Add DIR to runtime search path"),
N_("-R DIR, -rpath DIR"), ONE_DASH,
&General_options::add_to_rpath),
+ GENERAL_NOARG('s', "strip-all", N_("Strip all symbols"), NULL,
+ TWO_DASHES, &General_options::set_strip_all),
+ GENERAL_NOARG('S', "strip-debug", N_("Strip debugging information"), NULL,
+ TWO_DASHES, &General_options::set_strip_debug),
GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
NULL, TWO_DASHES, &General_options::set_create_eh_frame_hdr),
GENERAL_ARG('\0', "rpath-link",
@@ -378,6 +382,7 @@ General_options::General_options()
optimization_level_(0),
output_file_name_("a.out"),
is_relocatable_(false),
+ strip_(STRIP_NONE),
create_eh_frame_hdr_(false),
rpath_(),
rpath_link_(),