aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pie
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pie')
-rw-r--r--ld/testsuite/ld-pie/pie.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-pie/pie.exp b/ld/testsuite/ld-pie/pie.exp
index 19a2ac0..ea4370c 100644
--- a/ld/testsuite/ld-pie/pie.exp
+++ b/ld/testsuite/ld-pie/pie.exp
@@ -1,5 +1,5 @@
# Expect script for various PIE tests.
-# Copyright 2006, 2007, 2009 Free Software Foundation, Inc.
+# Copyright 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -22,8 +22,8 @@
# This test can only be run if ld generates native executables.
if ![isnative] then {return}
-# Run on Linux only.
-if { ![istarget *-*-linux*] } {
+if { ![istarget *-*-linux*]
+ && ![istarget *-*-gnu*] } {
return
}