PR 10980
authorIan Lance Taylor <ian@airs.com>
Thu, 31 Dec 2009 06:05:49 +0000 (06:05 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 31 Dec 2009 06:05:49 +0000 (06:05 +0000)
* options.h (class General_options): Permit two dashes with
--retain-symbols-file.

gold/ChangeLog
gold/options.h

index b2d7a4f..22957ec 100644 (file)
@@ -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
index 872d142..da53b95 100644 (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