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 b2d7a4fd960fe343ac34c587e222b17827596cc6..22957eca60dae1cfbdb92539b7fd618b028f71c4 100644 (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
index 872d1423d1f65871ef79bf949f792f8cd10cc0a7..da53b95a8281b09b85f8f6b09c3e59224055dce8 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