diff options
author | Cary Coutant <ccoutant@google.com> | 2009-03-06 23:12:37 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2009-03-06 23:12:37 +0000 |
commit | 6d71b17c420d407c834a2c6a3d745fdb933c5a8d (patch) | |
tree | aef0564ed73adc59b1cf8203d5643176a1afa644 /gold | |
parent | f5c9a895bccae4fd0aca99667be0e7163690fbeb (diff) | |
download | binutils-6d71b17c420d407c834a2c6a3d745fdb933c5a8d.zip binutils-6d71b17c420d407c834a2c6a3d745fdb933c5a8d.tar.gz binutils-6d71b17c420d407c834a2c6a3d745fdb933c5a8d.tar.bz2 |
* options.cc (parse_short_option): Keep dash_z from registering itself.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 4 | ||||
-rw-r--r-- | gold/options.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 1a7705f..9daeafe 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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 diff --git a/gold/options.cc b/gold/options.cc index 3f6fbfa..a62c6e1 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -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') |