From 58b9344cf3727de58690c25a094ac658d1c762e3 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 14 Dec 2007 21:54:50 +0000 Subject: [PATCH] * ld-scripts/rgn-over.exp: Add --no-overlays for spu. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-scripts/rgn-over.exp | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fc7671ab82e..3098e083519 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-12-15 Alan Modra + + * ld-scripts/rgn-over.exp: Add --no-overlays for spu. + 2007-11-28 Nick Clifton * 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 76e8206bca3..509f7ff328f 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 -- 2.30.2