diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 4fac3b0ae6..461e10ea23 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-02-01 Alan Modra + + * ld-scripts/default-script.exp: Add "--local-store 0:0" to + LDFLAGS for spu. + 2007-01-29 Julian Brown * ld-arm/arm-elf.exp: Add VFP11 tests. diff --git a/ld/testsuite/ld-scripts/default-script.exp b/ld/testsuite/ld-scripts/default-script.exp index ade42591d1..e496e9c0c7 100644 --- a/ld/testsuite/ld-scripts/default-script.exp +++ b/ld/testsuite/ld-scripts/default-script.exp @@ -16,6 +16,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. +if { [istarget spu*-*-*] } { + set LDFLAGS "$LDFLAGS --local-store 0:0" +} + set test_list [lsort [glob -nocomplain $srcdir/$subdir/default-script*.d]] foreach t $test_list { # We need to strip the ".d", but can leave the dirname.