OSDN Git Service

* options.cc (parse_short_option): Keep dash_z from registering itself.
authorCary Coutant <ccoutant@google.com>
Fri, 6 Mar 2009 23:12:37 +0000 (23:12 +0000)
committerCary Coutant <ccoutant@google.com>
Fri, 6 Mar 2009 23:12:37 +0000 (23:12 +0000)
gold/ChangeLog
gold/options.cc

index 1a7705f..9daeafe 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-06  Cary Coutant  <ccoutant@google.com>
+
+       * options.cc (parse_short_option): Keep dash_z from registering itself.
+
 2009-03-03  Ian Lance Taylor  <iant@google.com>
 
        PR 9918
index 3f6fbfa..a62c6e1 100644 (file)
@@ -587,7 +587,7 @@ parse_short_option(int argc, const char** argv, int pos_in_argv_i,
 
   // We handle -z as a special case.
   static gold::options::One_option dash_z("", gold::options::DASH_Z,
-                                          'z', "", "-z", "Z-OPTION", false,
+                                          'z', "", NULL, "Z-OPTION", false,
                                          NULL);
   gold::options::One_option* retval = NULL;
   if (this_argv[pos_in_argv_i] == 'z')