From: Alan Modra Date: Thu, 22 Mar 2007 23:44:00 +0000 (+0000) Subject: * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu. X-Git-Tag: drow-reverse-20070409-branchpoint~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f264ea9a7a880f3770ef311e2baac93fe068991;p=thirdparty%2Fbinutils-gdb.git * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 1f15714f3eb..6bf9ce831c0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-03-23 Alan Modra + + * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu. + 2003-03-22 H.J. Lu PR ld/4210 diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 43c42822bc0..66b5babfb20 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -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.