aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-02-01 05:12:11 +0000
committerAlan Modra <amodra@gmail.com>2007-02-01 05:12:11 +0000
commitb25b09cb7ee16880b59f80848071b623d1a20c8f (patch)
treedae703dcb75dddaed40dbbba881c74b2101caf17 /ld
parent3e41d55fb432b500085c4e8bfa8574b63df90a08 (diff)
downloadgdb-b25b09cb7ee16880b59f80848071b623d1a20c8f.zip
gdb-b25b09cb7ee16880b59f80848071b623d1a20c8f.tar.gz
gdb-b25b09cb7ee16880b59f80848071b623d1a20c8f.tar.bz2
* ld-scripts/default-script.exp: Add "--local-store 0:0" to
LDFLAGS for spu.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-scripts/default-script.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 4fac3b0..461e10e 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-01 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-scripts/default-script.exp: Add "--local-store 0:0" to
+ LDFLAGS for spu.
+
2007-01-29 Julian Brown <julian@codesourcery.com>
* 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 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.