aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/elf.exp
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2011-06-22 05:55:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2011-06-22 05:55:05 +0000
commit3fee20efd3ea43e4b2bd497c7e0ca37b72c1dea4 (patch)
tree7b47909c89e694dd6ac023265b117c3addfc41ba /ld/testsuite/ld-elf/elf.exp
parentce2486ab207e98f04931bc0f562ed4807258344a (diff)
downloadgdb-3fee20efd3ea43e4b2bd497c7e0ca37b72c1dea4.zip
gdb-3fee20efd3ea43e4b2bd497c7e0ca37b72c1dea4.tar.gz
gdb-3fee20efd3ea43e4b2bd497c7e0ca37b72c1dea4.tar.bz2
* ld/testsuite/ld-elf/elf.exp: Execute array_tests_pie tests on *-*-gnu*, too.
Diffstat (limited to 'ld/testsuite/ld-elf/elf.exp')
-rw-r--r--ld/testsuite/ld-elf/elf.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index ff0f03e..da24bed 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -150,8 +150,8 @@ set array_tests_static {
set xfails [list "*-*-netbsdelf*"]
run_ld_link_exec_tests $xfails $array_tests
-# Run PIE tests only on Linux.
-if { [istarget "*-*-linux*"] } {
+if { [istarget *-*-linux*]
+ || [istarget *-*-gnu*] } {
run_ld_link_exec_tests $xfails $array_tests_pie
}