aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-09-06 10:24:19 +0000
committerNick Clifton <nickc@redhat.com>1999-09-06 10:24:19 +0000
commitd33886536c4d83c1e3c878acaee67839890d5c51 (patch)
treee252f579cd53fedb1571e3916a1d033320ee3b75
parent1c56fb878fb73b5bd2552d8a659de926b72f5fe6 (diff)
downloadgdb-d33886536c4d83c1e3c878acaee67839890d5c51.zip
gdb-d33886536c4d83c1e3c878acaee67839890d5c51.tar.gz
gdb-d33886536c4d83c1e3c878acaee67839890d5c51.tar.bz2
Fix value for -Wnuh command line option
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-m32r.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7ba8452..0f88817 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-06 Nick Clifton <nickc@cygnus.com>
+
+ * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
+
1999-09-04 Steve Chamberlain <sac@pobox.com>
* 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 46f70a5..62972b2 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;
}