':' isn't permitted in macro parameter names, hence this separator
construct isn't necessary at the end of labels. Drop its use in such
cases, for being potentially confusing (and hampering readability, even
if only a little).
.macro offset_sequence size, offset
.p2align 5
-sequence_\size\()_offset_\offset\():
+sequence_\size\()_offset_\offset:
.if \offset
.space \offset, 0xf4
.endif
.macro offset_insn insn_name, offset
.p2align 5
-\insn_name\()_offset_\offset\():
+\insn_name\()_offset_\offset:
.if \offset
.space \offset, 0xf4
.endif
.macro jmp_2
jmp jmp_2_\@
movl $0xdeadbeef,%eax
-jmp_2_\@\():
+jmp_2_\@:
movl $0xb00b,%eax
.endm
.macro jmp_5
.rept 128
inc %eax
.endr
-jmp_5_\@\():
+jmp_5_\@:
movl $0xb00b,%eax
.endm
.macro cjmp_2
jz cjmp_2_\@
movl $0xdeadbeef,%eax
-cjmp_2_\@\():
+cjmp_2_\@:
movl $0xb00b,%eax
.endm
.macro cjmp_6
.rept 128
inc %eax
.endr
-cjmp_6_\@\():
+cjmp_6_\@:
movl $0xb00b,%eax
.endm
.macro pjmp_3
jz,pt pjmp_3_\@
movl $0xdeadbeef,%eax
-pjmp_3_\@\():
+pjmp_3_\@:
movl $0xb00b,%eax
.endm
.macro pjmp_7
.rept 128
inc %eax
.endr
-pjmp_7_\@\():
+pjmp_7_\@:
movl $0xb00b,%eax
.endm
.macro offset_insn insn_name, offset
.p2align 5
-\insn_name\()_offset_\offset\():
+\insn_name\()_offset_\offset:
.if \offset
.space \offset, 0xf4
.endif
.macro jmp_2
jmp jmp_2_\@
movl $0xdeadbeef,%eax
-jmp_2_\@\():
+jmp_2_\@:
movl $0xb00b,%eax
.endm
.macro jmp_5
.rept 128
clc
.endr
-jmp_5_\@\():
+jmp_5_\@:
movl $0xb00b,%eax
.endm
.macro cjmp_2
jz cjmp_2_\@
movl $0xdeadbeef,%eax
-cjmp_2_\@\():
+cjmp_2_\@:
movl $0xb00b,%eax
.endm
.macro cjmp_6
.rept 128
clc
.endr
-cjmp_6_\@\():
+cjmp_6_\@:
movl $0xb00b,%eax
.endm
.macro pjmp_3
jz,pt pjmp_3_\@
movl $0xdeadbeef,%eax
-pjmp_3_\@\():
+pjmp_3_\@:
movl $0xb00b,%eax
.endm
.macro pjmp_7
.rept 128
clc
.endr
-pjmp_7_\@\():
+pjmp_7_\@:
movl $0xb00b,%eax
.endm