From fdbca3611592ecfe6c421923562ed307ef75c8e0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 14 Sep 2022 08:00:07 +0930 Subject: Modify ld-ctf test files to suit ARM 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. --- ld/testsuite/ld-ctf/diag-ctf-version-0.s | 4 ++-- ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s | 4 ++-- ld/testsuite/ld-ctf/diag-ctf-version-f.s | 4 ++-- ld/testsuite/ld-ctf/diag-cttname-invalid.s | 4 ++-- ld/testsuite/ld-ctf/diag-cttname-null.s | 4 ++-- ld/testsuite/ld-ctf/diag-cuname.s | 4 ++-- ld/testsuite/ld-ctf/diag-decompression-failure.s | 4 ++-- ld/testsuite/ld-ctf/diag-parlabel.s | 4 ++-- ld/testsuite/ld-ctf/diag-parname.s | 4 ++-- ld/testsuite/ld-ctf/diag-strlen-invalid.s | 4 ++-- ld/testsuite/ld-ctf/diag-unsupported-flag.s | 4 ++-- ld/testsuite/ld-ctf/diag-wrong-magic-number.s | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) (limited to 'ld') diff --git a/ld/testsuite/ld-ctf/diag-ctf-version-0.s b/ld/testsuite/ld-ctf/diag-ctf-version-0.s index 5b1c33d..03986c5 100644 --- a/ld/testsuite/ld-ctf/diag-ctf-version-0.s +++ b/ld/testsuite/ld-ctf/diag-ctf-version-0.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s b/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s index 95e8d51..79a7a7f 100644 --- a/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s +++ b/ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-ctf-version-f.s b/ld/testsuite/ld-ctf/diag-ctf-version-f.s index 63b94ca..a7022e6 100644 --- a/ld/testsuite/ld-ctf/diag-ctf-version-f.s +++ b/ld/testsuite/ld-ctf/diag-ctf-version-f.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-cttname-invalid.s b/ld/testsuite/ld-ctf/diag-cttname-invalid.s index f025254..960070d 100644 --- a/ld/testsuite/ld-ctf/diag-cttname-invalid.s +++ b/ld/testsuite/ld-ctf/diag-cttname-invalid.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-cttname-null.s b/ld/testsuite/ld-ctf/diag-cttname-null.s index f3ba212..d88b74a 100644 --- a/ld/testsuite/ld-ctf/diag-cttname-null.s +++ b/ld/testsuite/ld-ctf/diag-cttname-null.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-cuname.s b/ld/testsuite/ld-ctf/diag-cuname.s index 95f3d72..49157dc 100644 --- a/ld/testsuite/ld-ctf/diag-cuname.s +++ b/ld/testsuite/ld-ctf/diag-cuname.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-decompression-failure.s b/ld/testsuite/ld-ctf/diag-decompression-failure.s index 40a2fcf6..5e53946 100644 --- a/ld/testsuite/ld-ctf/diag-decompression-failure.s +++ b/ld/testsuite/ld-ctf/diag-decompression-failure.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-parlabel.s b/ld/testsuite/ld-ctf/diag-parlabel.s index b31fb81..507cb6b 100644 --- a/ld/testsuite/ld-ctf/diag-parlabel.s +++ b/ld/testsuite/ld-ctf/diag-parlabel.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-parname.s b/ld/testsuite/ld-ctf/diag-parname.s index d30178d..a6d7e18 100644 --- a/ld/testsuite/ld-ctf/diag-parname.s +++ b/ld/testsuite/ld-ctf/diag-parname.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-strlen-invalid.s b/ld/testsuite/ld-ctf/diag-strlen-invalid.s index dbfdd21..cd6a20d 100644 --- a/ld/testsuite/ld-ctf/diag-strlen-invalid.s +++ b/ld/testsuite/ld-ctf/diag-strlen-invalid.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-unsupported-flag.s b/ld/testsuite/ld-ctf/diag-unsupported-flag.s index 9e773e9..d0a8e80 100644 --- a/ld/testsuite/ld-ctf/diag-unsupported-flag.s +++ b/ld/testsuite/ld-ctf/diag-unsupported-flag.s @@ -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 diff --git a/ld/testsuite/ld-ctf/diag-wrong-magic-number.s b/ld/testsuite/ld-ctf/diag-wrong-magic-number.s index a80c864..c073446 100644 --- a/ld/testsuite/ld-ctf/diag-wrong-magic-number.s +++ b/ld/testsuite/ld-ctf/diag-wrong-magic-number.s @@ -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 -- cgit v1.1