fix new ld tests for spu
Alan Modra
amodra@bigpond.net.au
Thu Feb 1 05:11:00 GMT 2007
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
More information about the Binutils
mailing list