Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # |
2 | # Some PowerPC tests | |
3 | # | |
4 | ||
5 | # These tests are currently ELF specific, only because nobody has | |
6 | # converted them to look for XCOFF relocations. | |
7 | ||
e88b7c97 AM |
8 | if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then { |
9 | # FIXME: Pass -x to objdump as well as -Dr for astest64 and astest2_64. | |
10 | run_dump_test "astest64" | |
11 | run_dump_test "astest2_64" | |
12 | run_dump_test "test1elf64" | |
13 | } elseif { [istarget powerpc*-*aix*] } then { | |
14 | run_dump_test "test1xcoff32" | |
15 | } elseif { [istarget powerpc*-*-*bsd*] \ | |
252b5132 RH |
16 | || [istarget powerpc*-*-elf*] \ |
17 | || [istarget powerpc*-*-eabi*] \ | |
18 | || [istarget powerpc*-*-sysv4*] \ | |
19 | || [istarget powerpc*-*-linux*] \ | |
20 | || [istarget powerpc*-*-solaris*] \ | |
21 | || [istarget powerpc*-*-rtems*] } then { | |
22 | run_dump_test "astest" | |
23 | run_dump_test "astest2" | |
e88b7c97 | 24 | run_dump_test "test1elf32" |
252b5132 RH |
25 | } |
26 | ||
27 | if { [istarget powerpc*-*-*] } then { | |
28 | run_dump_test "simpshft" | |
74a21df4 TR |
29 | |
30 | if { [istarget powerpc-ibm-aix*] } then { | |
31 | run_dump_test "altivec_xcoff" | |
32 | run_dump_test "altivec_xcoff64" | |
ff3a6ee3 TR |
33 | run_dump_test "booke_xcoff" |
34 | run_dump_test "booke_xcoff64" | |
74a21df4 TR |
35 | } else { |
36 | run_dump_test "altivec" | |
ff3a6ee3 | 37 | run_dump_test "booke" |
74a21df4 | 38 | } |
252b5132 | 39 | } |
5578ad9c EZ |
40 | |
41 | if { [istarget powerpc*-*-*] } then { | |
42 | run_dump_test "e500" | |
43 | } |