PR 11225
[binutils.git] / gas / testsuite / gas / s390 / s390.exp
blobfae071c2f59464aff39510305a0f8e6fca664c3c
2 # s390/s390x tests
5 if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
7 # s390x-ibm-tpf target does not support a 32-bit target.
8 if { ! [istarget "s390x-*-tpf*"] } then {
9 run_dump_test "esa-g5" "{as -m31}"
10 run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
11 run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
12 run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
13 run_dump_test "esa-reloc" "{as -m31}"
14 run_dump_test "esa-operands" "{as -m31}"
17 # # PIC is only supported on ELF targets.
18 # if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] ) } then {
19 # run_dump_test "s390pic"
20 # }
22 run_dump_test "zarch-z900" "{as -m64}"
23 run_dump_test "zarch-z990" "{as -m64} {as -march=z990}"
24 run_dump_test "zarch-z9-109" "{as -m64} {as -march=z9-109}"
25 run_dump_test "zarch-z9-ec" "{as -m64} {as -march=z9-ec}"
26 run_dump_test "zarch-z10" "{as -m64} {as -march=z10}"
27 run_dump_test "zarch-reloc" "{as -m64}"
28 run_dump_test "zarch-operands" "{as -m64} {as -march=z9-109}"