binutils/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / ppc / ppc.exp
CommitLineData
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
8if { [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"
03417200 13 run_dump_test "power4"
ede602d7 14 run_dump_test "cell"
c5c2803a 15 run_list_test "range64" "-a64"
e88b7c97
AM
16} elseif { [istarget powerpc*-*aix*] } then {
17 run_dump_test "test1xcoff32"
18} elseif { [istarget powerpc*-*-*bsd*] \
252b5132
RH
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"
e88b7c97 27 run_dump_test "test1elf32"
252b5132
RH
28}
29
30if { [istarget powerpc*-*-*] } then {
4bff14ba
AM
31 run_dump_test "simpshft"
32 run_dump_test "machine"
74a21df4 33
7bbfa6f5 34 if { [istarget powerpc-*-*aix*] } then {
74a21df4
TR
35 run_dump_test "altivec_xcoff"
36 run_dump_test "altivec_xcoff64"
ff3a6ee3
TR
37 run_dump_test "booke_xcoff"
38 run_dump_test "booke_xcoff64"
74a21df4
TR
39 } else {
40 run_dump_test "altivec"
ff3a6ee3 41 run_dump_test "booke"
7bbfa6f5 42 run_dump_test "e500"
c5c2803a 43 run_list_test "range" "-a32"
c3d65c1c 44 run_dump_test "ppc750ps"
74a21df4 45 }
252b5132 46}
This page took 0.329945 seconds and 4 git commands to generate.