]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/ppc/ppc.exp
* gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
[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 } elseif { [istarget powerpc*-*aix*] } then {
14 run_dump_test "test1xcoff32"
15 } elseif { [istarget powerpc*-*-*bsd*] \
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"
24 run_dump_test "test1elf32"
25 }
26
27 if { [istarget powerpc*-*-*] } then {
28 run_dump_test "simpshft"
29
30 if { [istarget powerpc-*-*aix*] } then {
31 run_dump_test "altivec_xcoff"
32 run_dump_test "altivec_xcoff64"
33 run_dump_test "booke_xcoff"
34 run_dump_test "booke_xcoff64"
35 } else {
36 run_dump_test "altivec"
37 run_dump_test "booke"
38 run_dump_test "e500"
39 }
40 }