Fixed test to disable these checks if the target is PE based.
[binutils-gdb.git] / ld / testsuite / ld-selective / selective.exp
index c8bbdefedc998cb1258c3eabe2d2a4eff4514b3f..4ab5872be28b136b48e939d70b939a6985e9c7ee 100644 (file)
 
 
 # COFF based ports do not support selective linking
-if {[istarget "*-*-coff" "*-*-pe"]} {
+if {[istarget "*-*-coff"]} {
+  return
+}
+if {[istarget "*-*-pe"]} {
   return
 }