* options.cc (parse_short_option): Keep dash_z from registering itself.

This commit is contained in:
Cary Coutant 2009-03-06 23:12:37 +00:00
parent f5c9a895bc
commit 6d71b17c42
2 changed files with 5 additions and 1 deletions

View 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

View 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')