aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2016-07-01 09:06:16 +0200
committerJan Beulich <jbeulich@suse.com>2016-07-01 09:06:16 +0200
commit327e8c421bbe0f7e411bb772ee7d6353f2571a8d (patch)
tree3bf5cf5828810d58a8f89cf74756e324f57884f4 /gas/ChangeLog
parent83b16ac69492ab493bfc87f147bf84c167bc6f30 (diff)
downloadgdb-327e8c421bbe0f7e411bb772ee7d6353f2571a8d.zip
gdb-327e8c421bbe0f7e411bb772ee7d6353f2571a8d.tar.gz
gdb-327e8c421bbe0f7e411bb772ee7d6353f2571a8d.tar.bz2
x86/MPX: fix address size handling
While address overrides are ignored in 64-bit mode (and hence shouldn't really result in an error, but upon v1 converting this to a warning I was told otherwise), trying to use 16-bit addressing is documented to result in #UD, and hence the assembler should reject the attempt. (The added test case at once also checks that bndc{l,n,u} won't accept 16-bit register operands.)
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2e14703..89e4a1e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,13 @@
2016-07-01 Jan Beulich <jbeulich@suse.com>
+ * tc-i386.c (md_assemble): Alter address size checking for MPX
+ instructions.
+ * testsuite/gas/i386/mpx-inval-2.s: New.
+ * testsuite/gas/i386/mpx-inval-2.l: New.
+ * testsuite/gas/i386/i386.exp: Run new test.
+
+2016-07-01 Jan Beulich <jbeulich@suse.com>
+
PR gas/20318
* config/tc-i386.c (match_template): Add char parameter,
consumed in Intel mode for an extra suffix check.