blob: 8887b53494eb6728c7364e06944797015125eb48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#
# MAXQ10 tests
#
proc gas_64_check { } {
global NM
global NMFLAGS
global srcdir
catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help
return [regexp "targets:.*maxq" $nm_help]
}
proc gas_32_check { } {
global NM
global NMFLAGS
global srcdir
catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help
return [regexp "targets:.*maxq" $nm_help]
}
if [expr ([istarget "maxq-*-*"] || [istarget "maxq-coff-*"]) && [gas_32_check]] then {
global ASFLAGS
set old_ASFLAGS "$ASFLAGS"
set ASFLAGS "$ASFLAGS -MAXQ10"
run_dump_test "range"
run_dump_test "data3"
run_dump_test "data2"
run_dump_test "call"
run_dump_test "jump"
run_dump_test "logical"
run_dump_test "math"
run_dump_test "bits"
set ASFLAGS "$old_ASFLAGS"
}
|