binutils-gdb/ld/testsuite/ld-mips-elf/unaligned-insn.s
Jan Beulich c0e9aca554 MIPS: correct macro use in gas and ld testsuites
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
former appears more appropriate here, as the macro parameters already
have ":req".
2024-07-19 11:58:04 +02:00

15 lines
167 B
ArmAsm

.macro sym n:req
.if \n
.globl bar\@
.type bar\@, @function
bar\@ :
.insn
.hword 0
.size bar\@, . - bar\@
sym (\n - 1)
.endif
.endm
.text
.align 4
sym 8