mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Update x86-64-mpx-inval-2 test for COFF
Assembler displays upper case hex numbers and we need to force a good alignment to avoid matching NOPs at the end. * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment. * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
|
||||
* testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
|
||||
|
||||
2017-03-06 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* dw2gencfi.c (encoding_size): Return unsigned int.
|
||||
|
@ -143,7 +143,7 @@ GAS LISTING .*
|
||||
[ ]*[1-9][0-9]*[ ]+bndstx %bnd3, base\(%rip\)
|
||||
[ ]*[1-9][0-9]*[ ]+\?\?\?\? 670F1B0D bndstx %bnd1, base\(%eip\)
|
||||
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9a-f][0-9a-f][0-9a-f]00000
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9A-F]+
|
||||
[ ]*[1-9][0-9]*[ ]+
|
||||
[ ]*[1-9][0-9]*[ ]+\#\#\# bndldx
|
||||
[ ]*[1-9][0-9]*[ ]+\?\?\?\? 670F1A44 bndldx 0x3\(%eax,%ebx,1\), %bnd0
|
||||
@ -158,7 +158,7 @@ GAS LISTING .*
|
||||
[ ]*[1-9][0-9]*[ ]*bndldx base\(%rip\), %bnd1
|
||||
[ ]*[1-9][0-9]*[ ]*\?\?\?\? 670F1A1D bndldx base\(%eip\), %bnd3
|
||||
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9a-f][0-9a-f][0-9a-f]00000
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9A-F]+
|
||||
[ ]*[1-9][0-9]*[ ]+
|
||||
[ ]*[1-9][0-9]*[ ]+\.intel_syntax noprefix
|
||||
[ ]*[1-9][0-9]*[ ]+\?\?\?\? 67F30F1B bndmk bnd1, \[eax\]
|
||||
@ -236,7 +236,7 @@ GAS LISTING .*
|
||||
[ ]*[1-9][0-9]*[ ]+bndstx \[rip\+base\], bnd1
|
||||
[ ]*[1-9][0-9]*[ ]+\?\?\?\? 670F1B1D bndstx \[eip\+base\], bnd3
|
||||
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9a-f][0-9a-f][0-9a-f]00000
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9A-F]+
|
||||
[ ]*[1-9][0-9]*[ ]+bndstx \[rax\+rsp\], bnd3
|
||||
[ ]*[1-9][0-9]*[ ]+
|
||||
[ ]*[1-9][0-9]*[ ]+\#\#\# bndldx
|
||||
@ -256,6 +256,6 @@ GAS LISTING .*
|
||||
[ ]*[1-9][0-9]*[ ]+bndldx bnd1, \[rip\+base\]
|
||||
[ ]*[1-9][0-9]*[ ]+\?\?\?\? 670F1A1D bndldx bnd3, \[eip\+base\]
|
||||
.* Error: 32-bit address isn't allowed in 64-bit MPX instructions\.
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9a-f][0-9a-f][0-9a-f]00000
|
||||
[ ]*[1-9][0-9]*[ ]+[0-9A-F]+
|
||||
[ ]*[1-9][0-9]*[ ]+bndldx bnd3, \[rax\+rsp\]
|
||||
#pass
|
||||
|
@ -94,3 +94,6 @@
|
||||
bndldx bnd1, [rip+base]
|
||||
bndldx bnd3, [eip+base]
|
||||
bndldx bnd3, [rax+rsp]
|
||||
|
||||
# Force a good alignment.
|
||||
.p2align 4,0
|
||||
|
Reference in New Issue
Block a user