aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-12-14 21:54:50 +0000
committerAlan Modra <amodra@gmail.com>2007-12-14 21:54:50 +0000
commit58b9344cf3727de58690c25a094ac658d1c762e3 (patch)
tree52d307a7b42d0e0638076acd8d20e07330ae889c /ld/testsuite/ld-scripts
parent17a1d0a9b26ce8f4f71073c41483baa0c10ed83b (diff)
downloadgdb-58b9344cf3727de58690c25a094ac658d1c762e3.zip
gdb-58b9344cf3727de58690c25a094ac658d1c762e3.tar.gz
gdb-58b9344cf3727de58690c25a094ac658d1c762e3.tar.bz2
* ld-scripts/rgn-over.exp: Add --no-overlays for spu.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/rgn-over.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-over.exp b/ld/testsuite/ld-scripts/rgn-over.exp
index 76e8206..509f7ff 100644
--- a/ld/testsuite/ld-scripts/rgn-over.exp
+++ b/ld/testsuite/ld-scripts/rgn-over.exp
@@ -24,6 +24,11 @@ if ![is_elf_format] {
load_lib ld-lib.exp
+set old_ldflags $LDFLAGS
+if { [istarget spu*-*-*] } {
+ set LDFLAGS "$LDFLAGS --no-overlays"
+}
+
set test_list [lsort [glob -nocomplain $srcdir/$subdir/rgn-over*.d]]
foreach test_file $test_list {
set test_name [file rootname $test_file]
@@ -44,3 +49,4 @@ foreach test_file $test_list {
untested $testname
}
}
+set LDFLAGS $old_ldflags