From: Nick Clifton Date: Mon, 1 May 2000 18:08:39 +0000 (+0000) Subject: Fix tests to remove leading zeroes from labels X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fca9a7240955d970fd657dda09bad8cd8e660cc;p=binutils-gdb.git Fix tests to remove leading zeroes from labels --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5a9bae34a59..c4fdafd64b7 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-05-01 Nick Clifton + + * 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 * gas/i386/general.l: Allow for DISP32 pe relocs. @@ -26,7 +31,7 @@ Fri Apr 21 13:20:53 2000 Richard Henderson Jim Wilson * gas/vtable/vtable.exp: Disable for ia64. - * gas/testsuite/gas/ia64: New testsuite directory. + * gas/ia64: New testsuite directory. 2000-04-03 Alan Modra @@ -260,7 +265,7 @@ Sat Aug 28 00:16:12 1999 Jerry Quinn 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 0740732c7c2..7604f420442 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 9d9ad62d283..61eec93dde5 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