From: Jan Beulich Date: Fri, 19 Jul 2024 09:56:20 +0000 (+0200) Subject: bfin: correct macro use in gas testsuite X-Git-Tag: binutils-2_43~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1b7023447d19d70bc36d71b7627f457dbfae5ce;p=thirdparty%2Fbinutils-gdb.git bfin: correct macro use in gas testsuite Whitespace in macro arguments either needs quoting / parenthesizing to reliably not be mistaken for an argument separator, or respective macro parameters need to be marked as covering all remaining arguments. The latter really isn't an option here. --- diff --git a/gas/testsuite/gas/bfin/allinsn16.s b/gas/testsuite/gas/bfin/allinsn16.s index 4a1636d674e..bf00cb5e603 100644 --- a/gas/testsuite/gas/bfin/allinsn16.s +++ b/gas/testsuite/gas/bfin/allinsn16.s @@ -12,16 +12,16 @@ # iterate 0x20 times .macro _dw b, i, e .if \i < \e - __dw \b, \i, \i + 0x40 - _dw \b, \i + 0x40, \e + __dw \b, \i, (\i + 0x40) + _dw \b, (\i + 0x40), \e .endif .endm # iterate 0x4 times .macro dw b, i, e .if \i < \e - _dw \b, \i, \i + 0x800 - dw \b, \i + 0x800, \e + _dw \b, \i, (\i + 0x800) + dw \b, (\i + 0x800), \e .endif .endm