* 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.
+2009-01-13 Alan Modra <amodra@bigpond.net.au>
+
+ * 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.
+
2009-01-12 Alan Modra <amodra@bigpond.net.au>
* ld-spu/ovl.d: Allow for absolute branches in stubs.
return
}
+set old_ldflags $LDFLAGS
if { [istarget spu*-*-*] } {
set LDFLAGS "$LDFLAGS --local-store 0:0"
}
}
}
+set LDFLAGS $old_ldflags
+
# The following tests require running the executable generated by ld.
if ![isnative] {
return
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# MA 02110-1301, USA.
+set old_ldflags $LDFLAGS
if { [istarget spu*-*-*] } {
set LDFLAGS "$LDFLAGS --local-store 0:0"
}
run_dump_test [file rootname $t]
}
+set LDFLAGS $old_ldflags
return
}
+set old_ldflags $LDFLAGS
if { [istarget spu*-*-*] } {
- set LDFLAGS "--local-store 0:0"
+ set LDFLAGS "$LDFLAGS --local-store 0:0"
}
set testname "empty-orphan"
run_dump_test empty-orphan
+
+set LDFLAGS $old_ldflags
set old_ldflags $LDFLAGS
if { [istarget spu*-*-*] } {
- set LDFLAGS "$LDFLAGS --no-overlays"
+ set LDFLAGS "$LDFLAGS --local-store 0:0 --no-overlays"
}
set test_list [lsort [glob -nocomplain $srcdir/$subdir/include*.d]]
verbose $test_name
run_dump_test $test_name
}
+
set LDFLAGS $old_ldflags