diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-07-19 11:56:20 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-07-19 11:56:20 +0200 |
commit | a1b7023447d19d70bc36d71b7627f457dbfae5ce (patch) | |
tree | 15dafbf38772bc7a400372a12c6f608eb393cacd | |
parent | cfa18744d435b55bbbbc5ef1ae1df67e84aa1777 (diff) | |
download | fsf-binutils-gdb-a1b7023447d19d70bc36d71b7627f457dbfae5ce.zip fsf-binutils-gdb-a1b7023447d19d70bc36d71b7627f457dbfae5ce.tar.gz fsf-binutils-gdb-a1b7023447d19d70bc36d71b7627f457dbfae5ce.tar.bz2 |
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.
-rw-r--r-- | gas/testsuite/gas/bfin/allinsn16.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/testsuite/gas/bfin/allinsn16.s b/gas/testsuite/gas/bfin/allinsn16.s index 4a1636d..bf00cb5 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 |