]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
x86: drop unnecessary \() from bundle tests
authorJan Beulich <jbeulich@suse.com>
Fri, 12 Jul 2024 10:28:50 +0000 (12:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 12 Jul 2024 10:28:50 +0000 (12:28 +0200)
':' 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).

gas/testsuite/gas/i386/bundle-lock.s
gas/testsuite/gas/i386/bundle.s
gas/testsuite/gas/i386/x86-64-bundle.s

index af52e995a45a3b51f40a11c5d6da26454530d293..f5a652020ff8e59bc12a7070533220edd4355cf8 100644 (file)
@@ -5,7 +5,7 @@
 
 .macro offset_sequence size, offset
        .p2align 5
-sequence_\size\()_offset_\offset\():
+sequence_\size\()_offset_\offset:
        .if \offset
        .space \offset, 0xf4
        .endif
index 60d9fc5d7321c56c2e91d4293d545dce3b3e8d20..29206384e7105aef36a450023166929eba1205fe 100644 (file)
@@ -5,7 +5,7 @@
 
 .macro offset_insn insn_name, offset
        .p2align 5
-\insn_name\()_offset_\offset\():
+\insn_name\()_offset_\offset:
        .if \offset
        .space \offset, 0xf4
        .endif
@@ -105,7 +105,7 @@ test_offsets test_12
 .macro jmp_2
        jmp jmp_2_\@
        movl $0xdeadbeef,%eax
-jmp_2_\@\():
+jmp_2_\@:
        movl $0xb00b,%eax
 .endm
 .macro jmp_5
@@ -113,14 +113,14 @@ jmp_2_\@\():
        .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
@@ -128,14 +128,14 @@ cjmp_2_\@\():
        .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
@@ -143,7 +143,7 @@ pjmp_3_\@\():
        .rept 128
        inc %eax
        .endr
-pjmp_7_\@\():
+pjmp_7_\@:
        movl $0xb00b,%eax
 .endm
 
index f8381abbaa659d23bf870a39f90e7cdc873b602b..a4ebb2c83d612cc0359f3f8dabbf3b64abf6f779 100644 (file)
@@ -5,7 +5,7 @@
 
 .macro offset_insn insn_name, offset
        .p2align 5
-\insn_name\()_offset_\offset\():
+\insn_name\()_offset_\offset:
        .if \offset
        .space \offset, 0xf4
        .endif
@@ -109,7 +109,7 @@ test_offsets test_13
 .macro jmp_2
        jmp jmp_2_\@
        movl $0xdeadbeef,%eax
-jmp_2_\@\():
+jmp_2_\@:
        movl $0xb00b,%eax
 .endm
 .macro jmp_5
@@ -117,14 +117,14 @@ jmp_2_\@\():
        .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
@@ -132,14 +132,14 @@ cjmp_2_\@\():
        .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
@@ -147,7 +147,7 @@ pjmp_3_\@\():
        .rept 128
        clc
        .endr
-pjmp_7_\@\():
+pjmp_7_\@:
        movl $0xb00b,%eax
 .endm