From 719328e148195b641d82b4ea7a014352264f5d1e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 31 Dec 2009 06:05:49 +0000 Subject: [PATCH] PR 10980 * options.h (class General_options): Permit two dashes with --retain-symbols-file. --- gold/ChangeLog | 6 ++++++ gold/options.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index b2d7a4fd960..22957eca60d 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2009-12-30 Ian Lance Taylor + + PR 10980 + * options.h (class General_options): Permit two dashes with + --retain-symbols-file. + 2009-12-30 Ian Lance Taylor PR 10979 diff --git a/gold/options.h b/gold/options.h index 872d1423d1f..da53b95a828 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 -- 2.30.2