From b25b09cb7ee16880b59f80848071b623d1a20c8f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 1 Feb 2007 05:12:11 +0000 Subject: [PATCH] * ld-scripts/default-script.exp: Add "--local-store 0:0" to LDFLAGS for spu. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-scripts/default-script.exp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 4fac3b0ae63..461e10ea23a 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 ade42591d1a..e496e9c0c74 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. -- 2.30.2