aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-09-14 08:00:07 +0930
committerAlan Modra <amodra@gmail.com>2022-09-14 10:19:57 +0930
commitfdbca3611592ecfe6c421923562ed307ef75c8e0 (patch)
tree488fd3cb1d73ef5f1e367388457f5b494164b1b3
parentacfd5524fa47a96bda305ea79c6b77c201930814 (diff)
downloadgdb-fdbca3611592ecfe6c421923562ed307ef75c8e0.zip
gdb-fdbca3611592ecfe6c421923562ed307ef75c8e0.tar.gz
gdb-fdbca3611592ecfe6c421923562ed307ef75c8e0.tar.bz2
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.
-rw-r--r--ld/testsuite/ld-ctf/diag-ctf-version-0.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-ctf-version-2-unsupported-feature.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-ctf-version-f.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-cttname-invalid.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-cttname-null.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-cuname.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-decompression-failure.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-parlabel.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-parname.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-strlen-invalid.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-unsupported-flag.s4
-rw-r--r--ld/testsuite/ld-ctf/diag-wrong-magic-number.s4
12 files changed, 24 insertions, 24 deletions
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