diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-12-31 06:05:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-12-31 06:05:49 +0000 |
commit | 719328e148195b641d82b4ea7a014352264f5d1e (patch) | |
tree | db54290033d78814cec47483ed77dac1be78a7e5 /gold | |
parent | 403a15dd3b16ecce8d632e82b6c6cd821cfaff0d (diff) | |
download | gdb-719328e148195b641d82b4ea7a014352264f5d1e.zip gdb-719328e148195b641d82b4ea7a014352264f5d1e.tar.gz gdb-719328e148195b641d82b4ea7a014352264f5d1e.tar.bz2 |
PR 10980
* options.h (class General_options): Permit two dashes with
--retain-symbols-file.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 6 | ||||
-rw-r--r-- | gold/options.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index b2d7a4f..22957ec 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,11 @@ 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 * layout.cc (Layout::relaxation_loop_body): If -Ttext was used, don't put the file header and segment headers in the text diff --git a/gold/options.h b/gold/options.h index 872d142..da53b95 100644 --- a/gold/options.h +++ b/gold/options.h @@ -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 |