diff options
author | Alan Modra <amodra@gmail.com> | 2015-09-30 18:26:12 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-09-30 18:32:32 +0930 |
commit | 2ec6d9e621ca468d56ac92df8ec2ec510d21f6da (patch) | |
tree | 360e5c1cff42c0ef738209c12fa52c7ff8fa2ee7 /gas | |
parent | 630993ec93fed0f2da1c4511b865cc69f5f0e835 (diff) | |
download | gdb-2ec6d9e621ca468d56ac92df8ec2ec510d21f6da.zip gdb-2ec6d9e621ca468d56ac92df8ec2ec510d21f6da.tar.gz gdb-2ec6d9e621ca468d56ac92df8ec2ec510d21f6da.tar.bz2 |
Revise new e500 invalid opcode test
.machine isn't available on all powerpc targets.
* gas/ppc/ppc.exp (e500-ill): Pass -me500.
* gas/ppc/e500-ill.s: Remove .machine.
* gas/ppc/e500-ill.l: Remove line numbers.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/e500-ill.l | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/e500-ill.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/ppc.exp | 2 |
4 files changed, 14 insertions, 9 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 555f3f4..f4c2dad 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-09-30 Alan Modra <amodra@gmail.com> + + * gas/ppc/ppc.exp (e500-ill): Pass -me500. + * gas/ppc/e500-ill.s: Remove .machine. + * gas/ppc/e500-ill.l: Remove line numbers. + 2015-09-29 Dominik Vogt <vogt@linux.vnet.ibm.com> * gas/s390/s390.exp: Add new tests. diff --git a/gas/testsuite/gas/ppc/e500-ill.l b/gas/testsuite/gas/ppc/e500-ill.l index f62f762..60f055d 100644 --- a/gas/testsuite/gas/ppc/e500-ill.l +++ b/gas/testsuite/gas/ppc/e500-ill.l @@ -1,8 +1,8 @@ .*: Assembler messages: -.*:5: Error: unrecognized opcode: `eciwx' -.*:6: Error: unrecognized opcode: `ecowx' -.*:7: Error: unrecognized opcode: `mfapidi' -.*:8: Error: unrecognized opcode: `mfdcr' -.*:9: Error: unrecognized opcode: `mtdcr' -.*:10: Error: unrecognized opcode: `tlbia' -.*:11: Error: unrecognized opcode: `tlbie' +.*: Error: unrecognized opcode: `eciwx' +.*: Error: unrecognized opcode: `ecowx' +.*: Error: unrecognized opcode: `mfapidi' +.*: Error: unrecognized opcode: `mfdcr' +.*: Error: unrecognized opcode: `mtdcr' +.*: Error: unrecognized opcode: `tlbia' +.*: Error: unrecognized opcode: `tlbie' diff --git a/gas/testsuite/gas/ppc/e500-ill.s b/gas/testsuite/gas/ppc/e500-ill.s index 890faf6..e9e90bc 100644 --- a/gas/testsuite/gas/ppc/e500-ill.s +++ b/gas/testsuite/gas/ppc/e500-ill.s @@ -1,6 +1,5 @@ # Motorola PowerPC e500 illegal instructions .text - .machine e500 start: eciwx 3,4,5 ecowx 3,4,5 diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index df91f36..06d061b 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -72,7 +72,7 @@ if { [istarget powerpc*-*-*] } then { run_dump_test "altivec_and_spe" run_dump_test "booke" run_dump_test "e500" - run_list_test "e500-ill" + run_list_test "e500-ill" "-me500" run_list_test "range" "-a32" run_dump_test "ppc750ps" run_dump_test "e500mc" |