This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] x86-64/MPX: relax no-RIP-relative-addressing testcase


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7

commit 248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7
Author: Jan Beulich <jbeulich@novell.com>
Date:   Fri Jul 1 11:17:30 2016 +0200

    x86-64/MPX: relax no-RIP-relative-addressing testcase
    
    ... for COFF targets.

Diff:
---
 gas/ChangeLog                               | 4 ++++
 gas/testsuite/gas/i386/x86-64-mpx-inval-2.l | 8 ++++----
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]