[binutils-gdb] TilePro: correct macro use in gas testsuite

Jan Beulich jbeulich@sourceware.org
Fri Jul 19 09:59:08 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e892703fedb1c50af79158647c39f9fc0745c3e

commit 6e892703fedb1c50af79158647c39f9fc0745c3e
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jul 19 11:58:26 2024 +0200

    TilePro: 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 appears more appropriate (and far less intrusive) here.

Diff:
---
 gas/testsuite/gas/tilepro/t_constants.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/tilepro/t_constants.s b/gas/testsuite/gas/tilepro/t_constants.s
index fc9e1db56c0..2aca004ff1e 100644
--- a/gas/testsuite/gas/tilepro/t_constants.s
+++ b/gas/testsuite/gas/tilepro/t_constants.s
@@ -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


More information about the Binutils-cvs mailing list