Modify ld-ctf test files to suit ARM
authorAlan Modra <amodra@gmail.com>
Tue, 13 Sep 2022 22:30:07 +0000 (08:00 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 14 Sep 2022 00:49:57 +0000 (10:19 +0930)
The "@" char starts a comment on ARM.

* testsuite/ld-ctf/diag-ctf-version-0.s: Replace @progbits with
%progbits.
* testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s: Likewise.
* testsuite/ld-ctf/diag-ctf-version-f.s: Likewise.
* testsuite/ld-ctf/diag-cttname-invalid.s: Likewise.
* testsuite/ld-ctf/diag-cttname-null.s: Likewise.
* testsuite/ld-ctf/diag-cuname.s: Likewise.
* testsuite/ld-ctf/diag-decompression-failure.s: Likewise.
* testsuite/ld-ctf/diag-parlabel.s: Likewise.
* testsuite/ld-ctf/diag-parname.s: Likewise.
* testsuite/ld-ctf/diag-strlen-invalid.s: Likewise.
* testsuite/ld-ctf/diag-unsupported-flag.s: Likewise.
* testsuite/ld-ctf/diag-wrong-magic-number.s: Likewise.

12 files changed:
ld/testsuite/ld-ctf/diag-ctf-version-0.s
ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s
ld/testsuite/ld-ctf/diag-ctf-version-f.s
ld/testsuite/ld-ctf/diag-cttname-invalid.s
ld/testsuite/ld-ctf/diag-cttname-null.s
ld/testsuite/ld-ctf/diag-cuname.s
ld/testsuite/ld-ctf/diag-decompression-failure.s
ld/testsuite/ld-ctf/diag-parlabel.s
ld/testsuite/ld-ctf/diag-parname.s
ld/testsuite/ld-ctf/diag-strlen-invalid.s
ld/testsuite/ld-ctf/diag-unsupported-flag.s
ld/testsuite/ld-ctf/diag-wrong-magic-number.s

index 5b1c33de1e3ae2a6a3848cd3e9166c7e8302bf9d..03986c5f10cdfd8156add4427224317dab7add6d 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x0
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index 95e8d5187c1944445b50471bd5d5e6469f54b4d9..79a7a7fad159dd2aa94cfe77b2d9e11f8d4ebc0d 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x2
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index 63b94ca9f6ac4f04908e4fe333ab6a47029b25eb..a7022e66bbaa4e2df119816dd51f65126f793c6c 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0xf
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index f025254665d68f2b426e97a3536c6534899a85b3..960070ded6c734b55b2360b5391940ba594d3bbb 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index f3ba2129fefa77b15bdd582bdc1887232eab0968..d88b74ac00e69752015114b2198ddf453111fa81 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index 95f3d72feea3a5ed83d8194f6b154e681829561b..49157dc4b4d283d08f0030c5fd6160783fb0b70b 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index 40a2fcf66cecc508e9e316a41e07106e80d20931..5e539465b834b776ec1e16774c350d6041ec697c 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index b31fb8181a3e8314628a7c3d85069fc761097795..507cb6b642e49136b8cc9d04b356585439f38a22 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index d30178de39bb1136fbddfc1a123a9ee15950c4bb..a6d7e186289a7348dd272e8683627a8b12337efb 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index dbfdd21fe276d3420df2509d467162c9d6598150..cd6a20d33e30e3e60e022c52e0c644ae5fb88caa 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index 9e773e91df3c2be781a202920598d6da94f01119..d0a8e80392c75548736d17547c2b947c90cc47ee 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff2
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index a80c8644b19f1539f6e29d4850208eec889373f9..c073446e6c3d16f8e6bacdf2ba40d745b0bc95d1 100644 (file)
@@ -1,5 +1,5 @@
        .file   "A.c"
-       .section        .ctf,"",@progbits
+       .section        .ctf,"",%progbits
 .Lctf0:
        .2byte  0xdff3
        .byte   0x4
@@ -41,4 +41,4 @@
        .text
        .comm   a,8,8
        .ident  "GCC: (GNU) 8.3.1 20191121 (Red Hat 8.3.1-5.0.1)"
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits