This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]