aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-01-05 19:06:27 +1030
committerAlan Modra <amodra@gmail.com>2022-01-05 20:04:28 +1030
commit10371501814d6944dc625477e75f5d7b89288ddf (patch)
tree3c013623c97b945d77e5bb5e668df26dd9ad87c5 /gas
parentb9255b7808f1e414e36a2e82a4d53c5967e5e2b4 (diff)
downloadgdb-10371501814d6944dc625477e75f5d7b89288ddf.zip
gdb-10371501814d6944dc625477e75f5d7b89288ddf.tar.gz
gdb-10371501814d6944dc625477e75f5d7b89288ddf.tar.bz2
Adjust quoted-sym-names test
Some targets restrict symbol addresses in .text to instruction boundaries. * testsuite/gas/all/quoted-sym-names.s: Define syms in .data. * testsuite/gas/all/quoted-sym-names.d: Adjust to suit.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/all/quoted-sym-names.d10
-rw-r--r--gas/testsuite/gas/all/quoted-sym-names.s2
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/testsuite/gas/all/quoted-sym-names.d b/gas/testsuite/gas/all/quoted-sym-names.d
index 5f0d3f8..17e4830 100644
--- a/gas/testsuite/gas/all/quoted-sym-names.d
+++ b/gas/testsuite/gas/all/quoted-sym-names.d
@@ -6,8 +6,8 @@
#notarget: z80-*-*
#...
-0+00 T test-a
-0+01 T back\\slash
-0+02 T back"slash
-0+03 T backslash\\
-0+04 T backslash"
+0+00 D test-a
+0+01 D back\\slash
+0+02 D back"slash
+0+03 D backslash\\
+0+04 D backslash"
diff --git a/gas/testsuite/gas/all/quoted-sym-names.s b/gas/testsuite/gas/all/quoted-sym-names.s
index 677f5dd..0c1e9eb 100644
--- a/gas/testsuite/gas/all/quoted-sym-names.s
+++ b/gas/testsuite/gas/all/quoted-sym-names.s
@@ -1,4 +1,4 @@
- .text
+ .data
.globl "test-a"
"test-a":
.byte 0