aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/default-script.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/default-script.exp')
-rw-r--r--ld/testsuite/ld-scripts/default-script.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/default-script.exp b/ld/testsuite/ld-scripts/default-script.exp
index ade4259..e496e9c 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.