From: Jan Beulich Date: Fri, 1 Jul 2016 09:17:30 +0000 (+0200) Subject: x86-64/MPX: relax no-RIP-relative-addressing testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=248feb2f9ed40b590aa49bda02e8cf50d2d3f7e7;p=binutils-gdb.git x86-64/MPX: relax no-RIP-relative-addressing testcase ... for COFF targets. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index c6b44136fc0..18257389cf6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-07-01 Jan Beulich + + * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets. + 2016-07-01 Tristan Gingold * 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 409e75fbfbc..8bd427c6103 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