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]

PATCH: Only run linker eh-group tests for ELF based targets


Hi Guys.

  I am applying the patch below to prevent the ld-elf/eh-group.exp
  tests from being run for non-ELF based targets.  I found that there
  were being run for cygwin toolchains which does support DWARF debug
  info generation but which which of course does not use the ELF file
  format.

Cheers
  Nick

ld/testsuite/ChangeLog
2009-05-07  Nick Clifton  <nickc@redhat.com>

	* ld-elf/eh-group.exp: Only run these tests for ELF based
	targets.

Index: ld/testsuite/ld-elf/eh-group.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh-group.exp,v
retrieving revision 1.4
diff -c -3 -p -r1.4 eh-group.exp
*** ld/testsuite/ld-elf/eh-group.exp	1 Feb 2009 12:05:25 -0000	1.4
--- ld/testsuite/ld-elf/eh-group.exp	7 May 2009 13:40:45 -0000
***************
*** 29,34 ****
--- 29,40 ----
  # executable trying to create .eh_frame_hdr.  It needs a separate .exp file due
  # to the requirement of two `ld' runs.
  
+ # Exclude non-ELF targets.
+ 
+ if ![is_elf_format] {
+     return
+ }
+ 
  # Exclude non-CFI (such as ia64) targets.
  
  if {![check_as_cfi]} {


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