diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fc7671ab82..3098e08351 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 76e8206bca..509f7ff328 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