aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-05-10 12:30:11 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-05-10 12:30:11 +0000
commit55b8cd597829376eb032a5531b47c879adc7cc37 (patch)
treeaa946b61cd6a21d0e3a6d4b0b1c5a09bbe04b388 /gas
parente172dbf8aa714653f2a1758df60fc169886be232 (diff)
downloadgdb-55b8cd597829376eb032a5531b47c879adc7cc37.zip
gdb-55b8cd597829376eb032a5531b47c879adc7cc37.tar.gz
gdb-55b8cd597829376eb032a5531b47c879adc7cc37.tar.bz2
* gas/mmix/relax2.s: Drop ":" off label definitions.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mmix/relax2.s20
2 files changed, 17 insertions, 7 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e0603e4..1a162c6 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-10 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * gas/mmix/relax2.s: Drop ":" off label definitions.
+
2005-05-09 Jan Beulich <jbeulich@novell.com>
* gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will
diff --git a/gas/testsuite/gas/mmix/relax2.s b/gas/testsuite/gas/mmix/relax2.s
index 8db8f1a..537cef0 100644
--- a/gas/testsuite/gas/mmix/relax2.s
+++ b/gas/testsuite/gas/mmix/relax2.s
@@ -1,33 +1,39 @@
# PUSHJ stub border-cases: two with either or both stubs unreachable,
# local symbols, ditto non-local labels, similar with three PUSHJs.
+# Note the absence of ":" on labels: because it's a symbol-character,
+# it's concatenated with the parameter macro name and parsed as "\x:".
+# This happens before gas deals with ":" as it usually does; not being
+# part of the name when ending a label at the beginning of a line.
+# (Since we're LABELS_WITHOUT_COLONS it inserts one for us, but
+# that would be disabled with --gnu-syntax.)
Main SWYM
.irp x,0,1,2,3,4,5,6,7,8,9,10,11,12
.section .text.a\x,"ax"
-aa\x: .space 4,0
-a\x: .space 65536*4,0
+aa\x .space 4,0
+a\x .space 65536*4,0
PUSHJ $33,aa\x
PUSHJ $22,a\x
.space 65535*4-4*\x
.section .text.b\x,"ax"
-bbb\x: .space 4,0
-bb\x: .space 4,0
-b\x: .space 65535*4
+bbb\x .space 4,0
+bb\x .space 4,0
+b\x .space 65535*4
PUSHJ $12,bbb\x
PUSHJ $13,bb\x
PUSHJ $14,b\x
.space 65535*4-4*\x
.section .text.c\x,"ax"
-c\x: PUSHJ $100,ca\x
+c\x PUSHJ $100,ca\x
PUSHJ $101,cb\x
.space 65535*4-4*\x
.section .text.d\x,"ax"
-d\x: PUSHJ $99,da\x
+d\x PUSHJ $99,da\x
PUSHJ $98,db\x
PUSHJ $97,dc\x
.space 65535*4-4*\x