aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2016-07-01 11:17:30 +0200
committerJan Beulich <jbeulich@suse.com>2016-07-01 11:17:30 +0200
commit248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7 (patch)
tree430ba1a934d09eff24283e80978b4377fd3c3580 /gas
parent96a84ea350f43f5a04a633e70bdc518e656cb881 (diff)
downloadgdb-248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7.zip
gdb-248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7.tar.gz
gdb-248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7.tar.bz2
x86-64/MPX: relax no-RIP-relative-addressing testcase
... for COFF targets.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/testsuite/gas/i386/x86-64-mpx-inval-2.l8
2 files changed, 8 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c6b4413..1825738 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-01 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
+
2016-07-01 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.27.
diff --git a/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l b/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l
index 409e75f..8bd427c 100644
--- a/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l
+++ b/gas/testsuite/gas/i386/x86-64-mpx-inval-2.l
@@ -122,7 +122,7 @@ GAS LISTING .*
[ ]*34[ ]+bndstx %bnd3, base\(%rip\)
[ ]*35[ ]+\?\?\?\? 670F1B0D bndstx %bnd1, base\(%eip\)
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[ ]*35[ ]+00000000
+[ ]*35[ ]+[0-9a-f][0-9a-f][0-9a-f]00000
[ ]*36[ ]+
[ ]*37[ ]+\#\#\# bndldx
[ ]*38[ ]+\?\?\?\? 670F1A44 bndldx 0x3\(%eax,%ebx,1\), %bnd0
@@ -137,7 +137,7 @@ GAS LISTING .*
[ ]*41[ ]*bndldx base\(%rip\), %bnd1
[ ]*42[ ]*\?\?\?\? 670F1A1D bndldx base\(%eip\), %bnd3
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[ ]*42[ ]*00000000
+[ ]*42[ ]*[0-9a-f][0-9a-f][0-9a-f]00000
[ ]*43[ ]+
[ ]*44[ ]+\.intel_syntax noprefix
[ ]*45[ ]+\?\?\?\? 67F30F1B bndmk bnd1, \[eax\]
@@ -208,7 +208,7 @@ GAS LISTING .*
[ ]*73[ ]+bndstx \[rip\+base\], bnd1
[ ]*74[ ]+\?\?\?\? 670F1B1D bndstx \[eip\+base\], bnd3
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[ ]*74[ ]+00000000
+[ ]*74[ ]+[0-9a-f][0-9a-f][0-9a-f]00000
[ ]*75[ ]+
[ ]*76[ ]+\#\#\# bndldx
[ ]*77[ ]+\?\?\?\? 670F1A44 bndldx bnd0, \[eax\+ebx\*1\+0x3\]
@@ -224,5 +224,5 @@ GAS LISTING .*
[ ]*80[ ]+bndldx bnd1, \[rip\+base\]
[ ]*81[ ]+\?\?\?\? 670F1A1D bndldx bnd3, \[eip\+base\]
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
-[ ]*81 00000000
+[ ]*81 [0-9a-f][0-9a-f][0-9a-f]00000
#pass