diff options
author | Alan Modra <amodra@gmail.com> | 2007-03-22 23:44:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-03-22 23:44:00 +0000 |
commit | 9f264ea9a7a880f3770ef311e2baac93fe068991 (patch) | |
tree | e286c9239fe0bf96943ce0e33f4ff195b3ca0a4f /ld/testsuite/ld-elf | |
parent | 32f1924dfe8d40cdc184b68d0edc17146300eb67 (diff) | |
download | gdb-9f264ea9a7a880f3770ef311e2baac93fe068991.zip gdb-9f264ea9a7a880f3770ef311e2baac93fe068991.tar.gz gdb-9f264ea9a7a880f3770ef311e2baac93fe068991.tar.bz2 |
* ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 43c4282..66b5bab 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. |