This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix to gasp tests: no leading zeros in label names


Hi Guys,

  I am about to apply the following patch to fix a couple of GASP
  tests that started failing after Catherine's change to removing
  leading zeroes from macro generated labels.

Cheers
	Nick

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. 

Index: gasp/mdouble.out
===================================================================
RCS file: /cvs/src//src/gas/testsuite/gasp/mdouble.out,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 mdouble.out
*** mdouble.out	1999/05/03 07:28:53	1.1.1.1
--- mdouble.out	2000/05/01 18:05:50
***************
*** 57,64 ****
  	ADD #1,@B
  !ENTRY	JMP	@MAIN
  ENTRY:	JMP	@MAIN
! !L00001	ADD 	#1,@HL
! L00001:	ADD 	#1,@HL
  !	MOV	#0,@C	
  	MOV	#0,@C	
  !	ADD	#2,@C
--- 57,64 ----
  	ADD #1,@B
  !ENTRY	JMP	@MAIN
  ENTRY:	JMP	@MAIN
! !L1	ADD 	#1,@HL
! L1:	ADD 	#1,@HL
  !	MOV	#0,@C	
  	MOV	#0,@C	
  !	ADD	#2,@C

Index: gasp/macro.out
===================================================================
RCS file: /cvs/src//src/gas/testsuite/gasp/macro.out,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 macro.out
*** macro.out	1999/05/03 07:28:53	1.1.1.1
--- macro.out	2000/05/01 18:05:50
***************
*** 296,339 ****
  !	.ENDM
  !	
  !	RES_STR	"ONE",R0	
! !	MOV.L	#str00018,R0
! 	MOV.L	#str00018,R0
! !	BRA	end_str00018
! 	BRA	end_str00018
  !	NOP
  	NOP
! !str00018	.SDATA "ONE"
! str00018:	.byte	79,78,69
  !	.ALIGN	2
  	.align	2
! !end_str00018
! end_str00018:
  !	RES_STR	"TWO",R1
! !	MOV.L	#str00019,R1
! 	MOV.L	#str00019,R1
! !	BRA	end_str00019
! 	BRA	end_str00019
  !	NOP
  	NOP
! !str00019	.SDATA "TWO"
! str00019:	.byte	84,87,79
  !	.ALIGN	2
  	.align	2
! !end_str00019
! end_str00019:
  !	RES_STR	"THREE",R2
! !	MOV.L	#str00020,R2
! 	MOV.L	#str00020,R2
! !	BRA	end_str00020
! 	BRA	end_str00020
  !	NOP
  	NOP
! !str00020	.SDATA "THREE"
! str00020:	.byte	84,72,82,69,69
  !	.ALIGN	2
  	.align	2
! !end_str00020
! end_str00020:
  !
  
  !
--- 296,339 ----
  !	.ENDM
  !	
  !	RES_STR	"ONE",R0	
! !	MOV.L	#str18,R0
! 	MOV.L	#str18,R0
! !	BRA	end_str18
! 	BRA	end_str18
  !	NOP
  	NOP
! !str18	.SDATA "ONE"
! str18:	.byte	79,78,69
  !	.ALIGN	2
  	.align	2
! !end_str18
! end_str18:
  !	RES_STR	"TWO",R1
! !	MOV.L	#str19,R1
! 	MOV.L	#str19,R1
! !	BRA	end_str19
! 	BRA	end_str19
  !	NOP
  	NOP
! !str19	.SDATA "TWO"
! str19:	.byte	84,87,79
  !	.ALIGN	2
  	.align	2
! !end_str19
! end_str19:
  !	RES_STR	"THREE",R2
! !	MOV.L	#str20,R2
! 	MOV.L	#str20,R2
! !	BRA	end_str20
! 	BRA	end_str20
  !	NOP
  	NOP
! !str20	.SDATA "THREE"
! str20:	.byte	84,72,82,69,69
  !	.ALIGN	2
  	.align	2
! !end_str20
! end_str20:
  !
  
  !
*************** end_str00020:
*** 341,382 ****
  !
  
  !	RES_STR STR=donkey Rn=R1
! !	MOV.L	#str00021,R1
! 	MOV.L	#str00021,R1
! !	BRA	end_str00021
! 	BRA	end_str00021
  !	NOP
  	NOP
! !str00021	.SDATA "donkey"
! str00021:	.byte	100,111,110,107,101,121
  !	.ALIGN	2
  	.align	2
! !end_str00021
! end_str00021:
  !	RES_STR donkey,R1
! !	MOV.L	#str00022,R1
! 	MOV.L	#str00022,R1
! !	BRA	end_str00022
! 	BRA	end_str00022
  !	NOP
  	NOP
! !str00022	.SDATA "donkey"
! str00022:	.byte	100,111,110,107,101,121
  !	.ALIGN	2
  	.align	2
! !end_str00022
! end_str00022:
  ! 	RES_STR donkey Rn=R1
! !	MOV.L	#str00023,R1
! 	MOV.L	#str00023,R1
! !	BRA	end_str00023
! 	BRA	end_str00023
  !	NOP
  	NOP
! !str00023	.SDATA "donkey"
! str00023:	.byte	100,111,110,107,101,121
  !	.ALIGN	2
  	.align	2
! !end_str00023
! end_str00023:
  !	.END
--- 341,382 ----
  !
  
  !	RES_STR STR=donkey Rn=R1
! !	MOV.L	#str21,R1
! 	MOV.L	#str21,R1
! !	BRA	end_str21
! 	BRA	end_str21
  !	NOP
  	NOP
! !str21	.SDATA "donkey"
! str21:	.byte	100,111,110,107,101,121
  !	.ALIGN	2
  	.align	2
! !end_str21
! end_str21:
  !	RES_STR donkey,R1
! !	MOV.L	#str22,R1
! 	MOV.L	#str22,R1
! !	BRA	end_str22
! 	BRA	end_str22
  !	NOP
  	NOP
! !str22	.SDATA "donkey"
! str22:	.byte	100,111,110,107,101,121
  !	.ALIGN	2
  	.align	2
! !end_str22
! end_str22:
  ! 	RES_STR donkey Rn=R1
! !	MOV.L	#str23,R1
! 	MOV.L	#str23,R1
! !	BRA	end_str23
! 	BRA	end_str23
  !	NOP
  	NOP
! !str23	.SDATA "donkey"
! str23:	.byte	100,111,110,107,101,121
  !	.ALIGN	2
  	.align	2
! !end_str23
! end_str23:
  !	.END

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]