This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
fix new ld tests for spu
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Thu, 1 Feb 2007 15:41:19 +1030
- Subject: fix new ld tests for spu
Fixes "exceeds local store range" errors.
* ld-scripts/default-script.exp: Add "--local-store 0:0" to
LDFLAGS for spu.
Index: ld/testsuite/ld-scripts/default-script.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/default-script.exp,v
retrieving revision 1.1
diff -u -p -r1.1 default-script.exp
--- ld/testsuite/ld-scripts/default-script.exp 19 Jan 2007 14:51:27 -0000 1.1
+++ ld/testsuite/ld-scripts/default-script.exp 31 Jan 2007 12:51:59 -0000
@@ -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.
--
Alan Modra
IBM OzLabs - Linux Technology Centre