aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/empty-orphan.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/empty-orphan.exp')
-rw-r--r--ld/testsuite/ld-scripts/empty-orphan.exp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/empty-orphan.exp b/ld/testsuite/ld-scripts/empty-orphan.exp
index fa845e0..847e8f4 100644
--- a/ld/testsuite/ld-scripts/empty-orphan.exp
+++ b/ld/testsuite/ld-scripts/empty-orphan.exp
@@ -1,6 +1,6 @@
# Make sure orphan sections do not lead to huge output files.
# By David Heine, Tensilica, Inc.
-# Copyright 2005
+# Copyright 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
@@ -22,6 +22,10 @@ if ![is_elf_format] {
return
}
+if { [istarget spu*-*-*] } {
+ set LDFLAGS "--local-store 0:0"
+}
+
set testname "empty-orphan"
run_dump_test empty-orphan