* options.h (class General_options): Permit two dashes with
	--retain-symbols-file.
This commit is contained in:
Ian Lance Taylor 2009-12-31 06:05:49 +00:00
parent 403a15dd3b
commit 719328e148
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-12-30 Ian Lance Taylor <iant@google.com>
PR 10980
* options.h (class General_options): Permit two dashes with
--retain-symbols-file.
2009-12-30 Ian Lance Taylor <iant@google.com>
PR 10979

View File

@ -803,8 +803,8 @@ class General_options
DEFINE_bool(relax, options::TWO_DASHES, '\0', false,
N_("Relax branches on certain targets"), NULL);
DEFINE_string(retain_symbols_file, options::EXACTLY_ONE_DASH, '\0', NULL,
N_("keep only symbols listed in this file"), N_("[file]"));
DEFINE_string(retain_symbols_file, options::TWO_DASHES, '\0', NULL,
N_("keep only symbols listed in this file"), N_("FILE"));
// -R really means -rpath, but can mean --just-symbols for
// compatibility with GNU ld. -rpath is always -rpath, so we list