aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-scripts/rgn-over.exp6
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index fc7671a..3098e08 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-15 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-scripts/rgn-over.exp: Add --no-overlays for spu.
+
2007-11-28 Nick Clifton <nickc@redhat.com>
* ld-mn10300/i135409-5.s: New test case. Check for relaxation to
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