]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
TilePro: correct macro use in gas testsuite
authorJan Beulich <jbeulich@suse.com>
Fri, 19 Jul 2024 09:58:26 +0000 (11:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jul 2024 09:58:26 +0000 (11:58 +0200)
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 appears more appropriate (and far less intrusive) here.

gas/testsuite/gas/tilepro/t_constants.s

index fc9e1db56c06f55e9e8aadafeab274bc5c1bab42..2aca004ff1e6bde29ab6bc36b9bdbaa7fa9c89e0 100644 (file)
@@ -245,7 +245,7 @@ label_2:
        .word -1311808516 - (272825489 - 19388681)
        .int 19338670 + 260459768
 
-.macro .safe_word val
+.macro .safe_word val:vararg
        .word (\val) & 0xffffffff
 .endm