Fix test to disable selective linker checks for PE targets

Nick Clifton nickc@cygnus.com
Mon Nov 1 08:31:00 GMT 1999


Hi Guys,

  I have checked in the following small patch.  It fixes the
  selective linking tests so that they are disabled for PE based
  targets.  The previous version of the code silently failed to do
  this.

Cheers
	Nick


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

	* ld-selective/selective.exp: Fix test to disable these checks for
	PE based targets.

Index: ld-selective/selective.exp
===================================================================
RCS file: /cvs/binutils/binutils/ld/testsuite/ld-selective/selective.exp,v
retrieving revision 1.2
diff -p -r1.2 selective.exp
*** selective.exp	1999/10/29 15:31:54	1.2
--- selective.exp	1999/11/01 16:28:05
***************
*** 20,26 ****
  
  
  # COFF based ports do not support selective linking
! if {[istarget "*-*-coff" "*-*-pe"]} {
    return
  }
  
--- 20,29 ----
  
  
  # COFF based ports do not support selective linking
! if {[istarget "*-*-coff"]} {
!   return
! }
! if {[istarget "*-*-pe"]} {
    return
  }
  


More information about the Binutils mailing list