aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-i386.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 482ab08..39537f8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-21 Alan Modra <amodra@gmail.com>
+
+ * config/tc-i386.c (md_parse_option): Fix warning on vexwig assignment.
+
2019-09-20 Alan Modra <amodra@gmail.com>
* config/tc-tic6x.c (tc_gen_reloc): Correct common symbol check.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 349b36d..5d783b4 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -11438,9 +11438,9 @@ md_parse_option (int c, const char *arg)
case OPTION_MVEXWIG:
if (strcmp (arg, "0") == 0)
- vexwig = evexw0;
+ vexwig = vexw0;
else if (strcmp (arg, "1") == 0)
- vexwig = evexw1;
+ vexwig = vexw1;
else
as_fatal (_("invalid -mvexwig= option: `%s'"), arg);
break;