From 02d2ba740273e3f539501337eebf0c6007af0b4b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 15 Nov 2007 23:03:45 +0000 Subject: From Craig Silverstein: Add --strip-debug-gdb. --- gold/parameters.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gold/parameters.cc') diff --git a/gold/parameters.cc b/gold/parameters.cc index aceb61ee73..7fbbf83677 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -66,6 +66,8 @@ Parameters::set_from_options(const General_options* options) this->strip_ = STRIP_ALL; else if (options->strip_debug()) this->strip_ = STRIP_DEBUG; + else if (options->strip_debug_gdb()) + this->strip_ = STRIP_DEBUG_UNUSED_BY_GDB; else this->strip_ = STRIP_NONE; -- cgit v1.2.1