This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Committed: Update LD linkonce tests for bfin port


Hi Guys,

  I am applying the patch below to update the linkonce tests in the
  linker testsuite so that they will pass when run for the BFIN port.
  This port has several different unused relocs, all starting with the
  sequence "UNUSED", so I add this to the regular expressions to match
  unused relocs.

Cheers
  Nick

ld/testsuite/ChangeLog
2009-08-17  Nick Clifton  <nickc@redhat.com>

	* ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an
	unused reloc.
	* ld-elf/linkonce2.d: Likewise.

Index: ld/testsuite/ld-elf/linkonce1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/linkonce1.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 linkonce1.d
*** ld/testsuite/ld-elf/linkonce1.d	7 Mar 2007 08:54:35 -0000	1.1
--- ld/testsuite/ld-elf/linkonce1.d	17 Aug 2009 09:19:35 -0000
***************
*** 7,12 ****
  
  RELOCATION RECORDS FOR \[.debug_frame\]:
  OFFSET[ 	]+TYPE[ 	]+VALUE[ 	]*
! .*(NONE|unused).*\*ABS\*
  
  #pass
--- 7,12 ----
  
  RELOCATION RECORDS FOR \[.debug_frame\]:
  OFFSET[ 	]+TYPE[ 	]+VALUE[ 	]*
! .*(NONE|unused|UNUSED).*\*ABS\*
  
  #pass
Index: ld/testsuite/ld-elf/linkonce2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/linkonce2.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 linkonce2.d
*** ld/testsuite/ld-elf/linkonce2.d	7 Mar 2007 08:54:35 -0000	1.1
--- ld/testsuite/ld-elf/linkonce2.d	17 Aug 2009 09:19:35 -0000
***************
*** 7,12 ****
  
  RELOCATION RECORDS FOR \[.debug_frame\]:
  OFFSET[ 	]+TYPE[ 	]+VALUE[ 	]*
! .*(NONE|unused).*\*ABS\*
  
  #pass
--- 7,12 ----
  
  RELOCATION RECORDS FOR \[.debug_frame\]:
  OFFSET[ 	]+TYPE[ 	]+VALUE[ 	]*
! .*(NONE|unused|UNUSED).*\*ABS\*
  
  #pass


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