]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: Add macro tests for PR gas/32073
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Aug 2024 15:43:22 +0000 (08:43 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Aug 2024 17:42:02 +0000 (10:42 -0700)
commita86cec1a6f5127fc66737f95c2ba7938a755b63f
treee6539d93177ea2b88635c295a5d34d9ab480ebef
parent87582defe75340e0003d4700568322379e9bc9f6
gas: Add macro tests for PR gas/32073

1. Add a macro test for expression argument with inner white spaces and
a white space before argument added by C preprocessor.
2. Add a x86-64 specific macro test.

PR gas/32073
* testsuite/gas/i386/x86-64-macro-1.d: New file.
* testsuite/gas/i386/x86-64-macro-1.s: Likewise.
* testsuite/gas/i386/x86-64.exp: Run x86-64-macro-1.
* testsuite/gas/macros/arg1.d: New file.
* testsuite/gas/macros/arg1.s: Likewise.
* testsuite/gas/macros/macros.exp: Run arg1.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gas/testsuite/gas/i386/x86-64-macro-1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-macro-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64.exp
gas/testsuite/gas/macros/arg1.d [new file with mode: 0644]
gas/testsuite/gas/macros/arg1.s [new file with mode: 0644]
gas/testsuite/gas/macros/macros.exp