From: Alan Modra <amodra@gmail.com>
To: binutils@sourceware.org
Subject: Adjust quoted-sym-names test
Date: Wed, 5 Jan 2022 20:06:29 +1030 [thread overview]
Message-ID: <YdVmndwrAwe4tCQj@squeak.grove.modra.org> (raw)
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.
diff --git a/gas/testsuite/gas/all/quoted-sym-names.d b/gas/testsuite/gas/all/quoted-sym-names.d
index 5f0d3f8c469..17e4830315b 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 677f5dd3ce4..0c1e9eb7cdf 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
--
Alan Modra
Australia Development Lab, IBM
reply other threads:[~2022-01-05 9:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YdVmndwrAwe4tCQj@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).