]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/ppc/ppc.exp
binutils/
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / ppc / ppc.exp
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
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 run_dump_test "power4"
14 run_dump_test "cell"
15 run_list_test "range64" "-a64"
16 } elseif { [istarget powerpc*-*aix*] } then {
17 run_dump_test "test1xcoff32"
18 } elseif { [istarget powerpc*-*-*bsd*] \
19 || [istarget powerpc*-*-elf*] \
20 || [istarget powerpc*-*-eabi*] \
21 || [istarget powerpc*-*-sysv4*] \
22 || [istarget powerpc*-*-linux*] \
23 || [istarget powerpc*-*-solaris*] \
24 || [istarget powerpc*-*-rtems*] } then {
25 run_dump_test "astest"
26 run_dump_test "astest2"
27 run_dump_test "test1elf32"
28 }
29
30 if { [istarget powerpc*-*-*] } then {
31 run_dump_test "simpshft"
32 run_dump_test "machine"
33
34 if { [istarget powerpc-*-*aix*] } then {
35 run_dump_test "altivec_xcoff"
36 run_dump_test "altivec_xcoff64"
37 run_dump_test "booke_xcoff"
38 run_dump_test "booke_xcoff64"
39 } else {
40 run_dump_test "altivec"
41 run_dump_test "booke"
42 run_dump_test "e500"
43 run_list_test "range" "-a32"
44 run_dump_test "ppc750ps"
45 }
46 }