x86: Update assembler tests for non-ELF targets
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 5 Aug 2018 17:05:52 +0000 (10:05 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 5 Aug 2018 17:05:52 +0000 (10:05 -0700)
commit99c2d522f7a7259947aa84c1b385a7c8147fa46c
tree9ca4084378049c756f72752fae3c9003e5a3e64e
parent05d0e962f08af24f18cc79b890a68176b42bcb78
x86: Update assembler tests for non-ELF targets

evex-no-scale.s has ELF directive:

.section .probe, "", @progbits

and non-ELF targets may pad text sections.

* testsuite/gas/i386/i386.exp: Run evex-no-scale-32 and
evex-no-scale-64 only for ELF targets.
* testsuite/gas/i386/prefix32.s: Append ".p2align 4,0".
* testsuite/gas/i386/prefix64.s: Likewise.
* testsuite/gas/i386/prefix32.l: Updated.
* testsuite/gas/i386/prefix64.l: Likewise.
gas/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/prefix32.l
gas/testsuite/gas/i386/prefix32.s
gas/testsuite/gas/i386/prefix64.l
gas/testsuite/gas/i386/prefix64.s