From fe9ee4255a4edd2c69ee342ecfd62bee928e7a56 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 b2d7a4fd9..22957eca6 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,11 @@ 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 * 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 872d1423d..da53b95a8 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.11.4.GIT