mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
d0b2f561a1
Now that the multitarget testing has settled, clean up the cases where istarget * is used. This ends up being mostly style unindenting.
20 lines
359 B
Plaintext
20 lines
359 B
Plaintext
# sh tests
|
|
|
|
sim_init
|
|
|
|
set all_machs "sh shdsp"
|
|
|
|
global ASFLAGS_FOR_TARGET
|
|
global LDFLAGS_FOR_TARGET
|
|
|
|
foreach opt $board_variant_list {
|
|
switch "x$opt" {
|
|
x-ml { set ASFLAGS_FOR_TARGET "-little --defsym LITTLE=1"
|
|
set LDFLAGS_FOR_TARGET "-EL" }
|
|
}
|
|
}
|
|
|
|
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
|
|
run_sim_test $src $all_machs
|
|
}
|