aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/powerpc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/powerpc.exp')
-rw-r--r--ld/testsuite/ld-powerpc/powerpc.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp
index 3e458e4..de676b8 100644
--- a/ld/testsuite/ld-powerpc/powerpc.exp
+++ b/ld/testsuite/ld-powerpc/powerpc.exp
@@ -70,10 +70,10 @@ if {[istarget "*-*-vxworks"]} {
# is ELF, because we pass -melf32ppc to ld and powerpc-nto-ld wants
# -melf32ppcnto.
-if { [istarget "*-*-macos*"]
+if { [is_xcoff_format]
|| [istarget "*-*-pe"] || [istarget "*-*-winnt*"]
- || [istarget "*-*-cygwin*"] || [istarget "*-*-aix*"]
- || [istarget "*-*-beos*"] || [istarget "*-*-lynxos*"]
+ || [istarget "*-*-cygwin*"]
+ || [istarget "*-*-lynxos*"]
|| [istarget "*-*-nto*"] } {
return
}