mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
* 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.
This commit is contained in:
parent
8d8047c402
commit
e497069013
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -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
|
||||
|
@ -19,6 +19,7 @@
|
||||
# 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"
|
||||
}
|
||||
@ -30,3 +31,4 @@ foreach t $test_list {
|
||||
run_dump_test [file rootname $t]
|
||||
}
|
||||
|
||||
set LDFLAGS $old_ldflags
|
||||
|
@ -25,10 +25,13 @@ if ![is_elf_format] {
|
||||
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
|
||||
|
@ -26,7 +26,7 @@ if [is_aout_format] {
|
||||
|
||||
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]]
|
||||
@ -36,4 +36,5 @@ foreach test_file $test_list {
|
||||
verbose $test_name
|
||||
run_dump_test $test_name
|
||||
}
|
||||
|
||||
set LDFLAGS $old_ldflags
|
||||
|
Loading…
Reference in New Issue
Block a user