aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-05-01 18:08:39 +0000
committerNick Clifton <nickc@redhat.com>2000-05-01 18:08:39 +0000
commit7fca9a7240955d970fd657dda09bad8cd8e660cc (patch)
tree8336f86b46dd313ea78d8c67d9e9b40c10a6a591
parentc5d05dbb5e1f4d75a09a77cdd19d23639621e875 (diff)
downloadgdb-7fca9a7240955d970fd657dda09bad8cd8e660cc.zip
gdb-7fca9a7240955d970fd657dda09bad8cd8e660cc.tar.gz
gdb-7fca9a7240955d970fd657dda09bad8cd8e660cc.tar.bz2
Fix tests to remove leading zeroes from labels
-rw-r--r--gas/testsuite/ChangeLog9
-rw-r--r--gas/testsuite/gasp/macro.out96
-rw-r--r--gas/testsuite/gasp/mdouble.out4
3 files changed, 57 insertions, 52 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5a9bae3..c4fdafd 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-01 Nick Clifton <nickc@cygnus.com>
+
+ * gasp/macro.out: Fix label numbers to remove leading zeroes.
+ * gasp/mdouble.out: Fix label numbers to remove leading zeroes.
+
2000-04-25 Alan Modra <alan@linuxcare.com.au>
* gas/i386/general.l: Allow for DISP32 pe relocs.
@@ -26,7 +31,7 @@ Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
Jim Wilson <wilson@cygnus.com>
* gas/vtable/vtable.exp: Disable for ia64.
- * gas/testsuite/gas/ia64: New testsuite directory.
+ * gas/ia64: New testsuite directory.
2000-04-03 Alan Modra <alan@linuxcare.com.au>
@@ -260,7 +265,7 @@ Sat Aug 28 00:16:12 1999 Jerry Quinn <jquinn@nortelnetworks.com>
extract3.s, deposit2.s, deposit3.s: New.
* gas/hppa/basic/add.s,addi.s,dcor.s,shladd.s,sub.s,subi.s,unit.s:
- Add new syntax versions of instructions to tests.
+ Add new syntax versions of instructions to tests.
* gas/hppa/basic/add2.s,dcor2.s,perf.s,purge2.s,shladd2.s,sub2.s,
system2.s, unit2.s: New tests.
* hppa/basic/basic.exp: Add new tests.
diff --git a/gas/testsuite/gasp/macro.out b/gas/testsuite/gasp/macro.out
index 0740732..7604f42 100644
--- a/gas/testsuite/gasp/macro.out
+++ b/gas/testsuite/gasp/macro.out
@@ -296,44 +296,44 @@
! .ENDM
!
! RES_STR "ONE",R0
-! MOV.L #str00018,R0
- MOV.L #str00018,R0
-! BRA end_str00018
- BRA end_str00018
+! MOV.L #str18,R0
+ MOV.L #str18,R0
+! BRA end_str18
+ BRA end_str18
! NOP
NOP
-!str00018 .SDATA "ONE"
-str00018: .byte 79,78,69
+!str18 .SDATA "ONE"
+str18: .byte 79,78,69
! .ALIGN 2
.align 2
-!end_str00018
-end_str00018:
+!end_str18
+end_str18:
! RES_STR "TWO",R1
-! MOV.L #str00019,R1
- MOV.L #str00019,R1
-! BRA end_str00019
- BRA end_str00019
+! MOV.L #str19,R1
+ MOV.L #str19,R1
+! BRA end_str19
+ BRA end_str19
! NOP
NOP
-!str00019 .SDATA "TWO"
-str00019: .byte 84,87,79
+!str19 .SDATA "TWO"
+str19: .byte 84,87,79
! .ALIGN 2
.align 2
-!end_str00019
-end_str00019:
+!end_str19
+end_str19:
! RES_STR "THREE",R2
-! MOV.L #str00020,R2
- MOV.L #str00020,R2
-! BRA end_str00020
- BRA end_str00020
+! MOV.L #str20,R2
+ MOV.L #str20,R2
+! BRA end_str20
+ BRA end_str20
! NOP
NOP
-!str00020 .SDATA "THREE"
-str00020: .byte 84,72,82,69,69
+!str20 .SDATA "THREE"
+str20: .byte 84,72,82,69,69
! .ALIGN 2
.align 2
-!end_str00020
-end_str00020:
+!end_str20
+end_str20:
!
!
@@ -341,42 +341,42 @@ end_str00020:
!
! RES_STR STR=donkey Rn=R1
-! MOV.L #str00021,R1
- MOV.L #str00021,R1
-! BRA end_str00021
- BRA end_str00021
+! MOV.L #str21,R1
+ MOV.L #str21,R1
+! BRA end_str21
+ BRA end_str21
! NOP
NOP
-!str00021 .SDATA "donkey"
-str00021: .byte 100,111,110,107,101,121
+!str21 .SDATA "donkey"
+str21: .byte 100,111,110,107,101,121
! .ALIGN 2
.align 2
-!end_str00021
-end_str00021:
+!end_str21
+end_str21:
! RES_STR donkey,R1
-! MOV.L #str00022,R1
- MOV.L #str00022,R1
-! BRA end_str00022
- BRA end_str00022
+! MOV.L #str22,R1
+ MOV.L #str22,R1
+! BRA end_str22
+ BRA end_str22
! NOP
NOP
-!str00022 .SDATA "donkey"
-str00022: .byte 100,111,110,107,101,121
+!str22 .SDATA "donkey"
+str22: .byte 100,111,110,107,101,121
! .ALIGN 2
.align 2
-!end_str00022
-end_str00022:
+!end_str22
+end_str22:
! RES_STR donkey Rn=R1
-! MOV.L #str00023,R1
- MOV.L #str00023,R1
-! BRA end_str00023
- BRA end_str00023
+! MOV.L #str23,R1
+ MOV.L #str23,R1
+! BRA end_str23
+ BRA end_str23
! NOP
NOP
-!str00023 .SDATA "donkey"
-str00023: .byte 100,111,110,107,101,121
+!str23 .SDATA "donkey"
+str23: .byte 100,111,110,107,101,121
! .ALIGN 2
.align 2
-!end_str00023
-end_str00023:
+!end_str23
+end_str23:
! .END
diff --git a/gas/testsuite/gasp/mdouble.out b/gas/testsuite/gasp/mdouble.out
index 9d9ad62..61eec93 100644
--- a/gas/testsuite/gasp/mdouble.out
+++ b/gas/testsuite/gasp/mdouble.out
@@ -57,8 +57,8 @@
ADD #1,@B
!ENTRY JMP @MAIN
ENTRY: JMP @MAIN
-!L00001 ADD #1,@HL
-L00001: ADD #1,@HL
+!L1 ADD #1,@HL
+L1: ADD #1,@HL
! MOV #0,@C
MOV #0,@C
! ADD #2,@C