From: Nick Clifton Date: Mon, 6 Sep 1999 10:24:19 +0000 (+0000) Subject: Fix value for -Wnuh command line option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d33886536c4d83c1e3c878acaee67839890d5c51;p=binutils-gdb.git Fix value for -Wnuh command line option --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7ba8452839b..0f888176699 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +1999-09-06 Nick Clifton + + * config/tc-m32r.c (md_longopts): Fix value for -Wnuh. + 1999-09-04 Steve Chamberlain * config/tc-pj.c: New file, supports picoJava in ELF. diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c index 46f70a5cbfd..62972b216cb 100644 --- a/gas/config/tc-m32r.c +++ b/gas/config/tc-m32r.c @@ -139,8 +139,8 @@ struct option md_longopts[] = {"warn-unmatched-high", no_argument, NULL, OPTION_WARN_UNMATCHED}, {"Wuh", no_argument, NULL, OPTION_WARN_UNMATCHED}, #define OPTION_NO_WARN_UNMATCHED (OPTION_MD_BASE + 5) - {"no-warn-unmatched-high", no_argument, NULL, OPTION_WARN_UNMATCHED}, - {"Wnuh", no_argument, NULL, OPTION_WARN_UNMATCHED}, + {"no-warn-unmatched-high", no_argument, NULL, OPTION_NO_WARN_UNMATCHED}, + {"Wnuh", no_argument, NULL, OPTION_NO_WARN_UNMATCHED}, #if 0 /* not supported yet */ #define OPTION_RELAX (OPTION_MD_BASE + 6) @@ -148,7 +148,6 @@ struct option md_longopts[] = #define OPTION_CPU_DESC (OPTION_MD_BASE + 7) {"cpu-desc", required_argument, NULL, OPTION_CPU_DESC}, #endif - {NULL, no_argument, NULL, 0} }; size_t md_longopts_size = sizeof (md_longopts); @@ -181,6 +180,7 @@ md_parse_option (c, arg) default: return 0; } + return 1; }