diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-15 23:03:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-15 23:03:45 +0000 |
commit | 02d2ba740273e3f539501337eebf0c6007af0b4b (patch) | |
tree | d5f227a534ef7accd13c1aff4327c00935b7bbef /gold/options.cc | |
parent | 557586a2002c600f50084e3ea9931393b44dbe46 (diff) | |
download | gdb-02d2ba740273e3f539501337eebf0c6007af0b4b.zip gdb-02d2ba740273e3f539501337eebf0c6007af0b4b.tar.gz gdb-02d2ba740273e3f539501337eebf0c6007af0b4b.tar.bz2 |
From Craig Silverstein: Add --strip-debug-gdb.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc index 2071435..c962188 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -402,6 +402,11 @@ options::Command_line_options::options[] = &General_options::add_to_rpath_link), GENERAL_NOARG('s', "strip-all", N_("Strip all symbols"), NULL, TWO_DASHES, &General_options::set_strip_all), + GENERAL_NOARG('\0', "strip-debug-gdb", + N_("Strip debug symbols that are unused by gdb " + "(at least versions <= 6.7)"), + NULL, TWO_DASHES, &General_options::set_strip_debug_gdb), + // This must come after -Sdebug since it's a prefix of it. GENERAL_NOARG('S', "strip-debug", N_("Strip debugging information"), NULL, TWO_DASHES, &General_options::set_strip_debug), GENERAL_NOARG('\0', "shared", N_("Generate shared library"), |