This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
spu ld testsuite tweak
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Fri, 23 Mar 2007 10:16:55 +1030
- Subject: spu ld testsuite tweak
ld/testsuite/ChangeLog
* ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu.
Index: ld/testsuite/ld-elf/elf.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/elf.exp,v
retrieving revision 1.8
diff -u -p -r1.8 elf.exp
--- ld/testsuite/ld-elf/elf.exp 15 Nov 2005 08:32:02 -0000 1.8
+++ ld/testsuite/ld-elf/elf.exp 22 Mar 2007 22:04:18 -0000
@@ -1,5 +1,5 @@
# Expect script for various ELF tests.
-# Copyright 2002, 2003 Free Software Foundation, Inc.
+# Copyright 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,6 +22,10 @@ if ![is_elf_format] {
return
}
+if { [istarget spu*-*-*] } {
+ set LDFLAGS "$LDFLAGS --local-store 0:0"
+}
+
set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
foreach t $test_list {
# We need to strip the ".d", but can leave the dirname.
--
Alan Modra
IBM OzLabs - Linux Technology Centre