diff options
author | Alan Modra <amodra@gmail.com> | 2009-01-12 13:57:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-01-12 13:57:59 +0000 |
commit | e497069013ce9d032c86c23a5a818e941c9d2d65 (patch) | |
tree | d15fb3fc5cbdd38533957e308efc0e54e725ca01 /ld/testsuite/ld-elf | |
parent | 8d8047c402cc77a85d7d3b443ecfb133ff5538cf (diff) | |
download | gdb-e497069013ce9d032c86c23a5a818e941c9d2d65.zip gdb-e497069013ce9d032c86c23a5a818e941c9d2d65.tar.gz gdb-e497069013ce9d032c86c23a5a818e941c9d2d65.tar.bz2 |
* ld-elf/elf.exp: Save and restore LDFLAGS.
* ld-scripts/default-script.exp: Likewise.
* ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
than replacing.
* ld-scripts/include.exp: Set --local-store for SPU.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 080d985..b2c196a 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -25,6 +25,7 @@ if ![is_elf_format] { return } +set old_ldflags $LDFLAGS if { [istarget spu*-*-*] } { set LDFLAGS "$LDFLAGS --local-store 0:0" } @@ -60,6 +61,8 @@ if { [check_gc_sections_available] } { } } +set LDFLAGS $old_ldflags + # The following tests require running the executable generated by ld. if ![isnative] { return |