]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: Add tests for -n option of x86 assembler
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Nov 2017 00:44:29 +0000 (16:44 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Nov 2017 00:44:29 +0000 (16:44 -0800)
commit0ad71725d917c51b46ffacbad25744dd889e87da
tree5819a1aff76560bb2097a3f8e2a04d4c9257b06e
parentc757658ed60fb1027a4335358bd55eaf6c23190f
x86: Add tests for -n option of x86 assembler

The -n command-line of x86 assembler disables optimization of alignment
directives, like ".balign 8, 0x90", with multi-byte nop instructions
such as leal 0(%esi),%esi.

PR gas/22464
* testsuite/gas/i386/align-1.s: New file.
* testsuite/gas/i386/align-1a.d: Likewise.
* testsuite/gas/i386/align-1b.d: Likewise.
* testsuite/gas/i386/i386.exp: Run align-1a and align-1b.
gas/ChangeLog
gas/testsuite/gas/i386/align-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-1a.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-1b.d [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp