From: Alan Modra Date: Wed, 30 Sep 2015 08:56:12 +0000 (+0930) Subject: Revise new e500 invalid opcode test X-Git-Tag: users/hjl/linux/release/2.25.51.0.4~1^2~22^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ec6d9e621ca468d56ac92df8ec2ec510d21f6da;p=thirdparty%2Fbinutils-gdb.git 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. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 555f3f4d958..f4c2dad6ff2 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-09-30 Alan Modra + + * 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 * 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 f62f762298a..60f055d7809 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 890faf67edd..e9e90bc4fbf 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 df91f36118e..06d061b6a4d 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"