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]

Fixes for ARM gas testsuite


Hi Guys,

  I have just checked in the following patch.  It fixes some GAS test 
  failures for the arm-pe toolchain.

Cheers
	Nick


1999-11-01  Nick Clifton  <nickc@cygnus.com>

	Remove reloc generating references to local labels in test code.
	Some ARM targets (eg PE) generate a reloc based on the label,
	whilst others (eg ELF) generate a reloc based on the section
	symbol.  This meant that the disassembled outputs would differ.
	
	* gas/arm/inst.s: Change test of BLPL instruction.
	* gas/arm/inst.d: Change expected decode of BLPL instruction.
	* gas/arm/arm7t.s: Remove use of .LC0 label in .word directive.

Index: arm7t.s
===================================================================
RCS file: /cvs/binutils/binutils/gas/testsuite/gas/arm/arm7t.s,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 arm7t.s
*** arm7t.s	1999/05/03 07:28:48	1.1.1.1
--- arm7t.s	1999/11/01 16:41:51
***************
*** 1,6 ****
  	.section	.rdata
  	.align	0
- .LC0:
  	.ascii	"some data\000"
  
  	.text
--- 1,5 ----
*************** misc:
*** 76,79 ****
  
  	.align
  .L2:
! 	.word	.LC0
--- 75,78 ----
  
  	.align
  .L2:
! 	.word	.rdata
Index: inst.s
===================================================================
RCS file: /cvs/binutils/binutils/gas/testsuite/gas/arm/inst.s,v
retrieving revision 1.2
diff -p -r1.2 inst.s
*** inst.s	1999/10/21 10:44:39	1.2
--- inst.s	1999/11/01 16:41:51
*************** bar:
*** 184,189 ****
  	swihs	0x33
  
  	bl	_wombat
! 	blpl	bar
  	b	_wibble
  	ble	testerfunc
--- 184,189 ----
  	swihs	0x33
  
  	bl	_wombat
! 	blpl	hohum
  	b	_wibble
  	ble	testerfunc
Index: inst.d
===================================================================
RCS file: /cvs/binutils/binutils/gas/testsuite/gas/arm/inst.d,v
retrieving revision 1.3
diff -p -r1.3 inst.d
*** inst.d	1999/10/21 10:44:39	1.3
--- inst.d	1999/11/01 16:41:51
*************** Disassembly of section .text:
*** 161,168 ****
  0000025c <[^>]*> 2f000033 ?	swics	0x00000033
  00000260 <[^>]*> ebfffffe ?	bl	00000260 <[^>]*>
  [		]*260:.*_wombat.*
! 00000264 <[^>]*> 5b000082 ?	blpl	00000474 <[^>]*>
! 			264: R_ARM_PC24	\.text
  00000268 <[^>]*> eafffffe ?	b	00000268 <[^>]*>
  [		]*268:.*_wibble.*
  0000026c <[^>]*> dafffffe ?	ble	0000026c <[^>]*>
--- 161,168 ----
  0000025c <[^>]*> 2f000033 ?	swics	0x00000033
  00000260 <[^>]*> ebfffffe ?	bl	00000260 <[^>]*>
  [		]*260:.*_wombat.*
! 00000264 <[^>]*> 5bfffffe ?	blpl	00000264 <[^>]*>
! [		]*264:.*ARM.*hohum
  00000268 <[^>]*> eafffffe ?	b	00000268 <[^>]*>
  [		]*268:.*_wibble.*
  0000026c <[^>]*> dafffffe ?	ble	0000026c <[^>]*>

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