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.
This commit is contained in:
Alan Modra
2022-01-05 19:06:27 +10:30
parent b9255b7808
commit 1037150181
2 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -1,4 +1,4 @@
.text
.data
.globl "test-a"
"test-a":
.byte 0