From ab32098a86f9851361d5d150419e39c9eccfe969 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 2 Jan 2001 19:39:15 +0000 Subject: [PATCH] Fix msr-bsd test --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/arm/arm.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0a7995b9da..ca795f1ef7 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-01-02 Nick Clifton + + * gas/arm/arm.exp: Pass -marmv3 to msr-bad test, since the + instruction is legal in v5. Also fix expected error message. + 2001-01-01 Philip Blundell * gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests. diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp index 2d5aea2787..ba900c907b 100644 --- a/gas/testsuite/gas/arm/arm.exp +++ b/gas/testsuite/gas/arm/arm.exp @@ -7,7 +7,7 @@ if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then { gas_test "arm3.s" "" $stdoptlist "Arm 3 instructions" gas_test "arm6.s" "" $stdoptlist "Arm 6 instructions" - gas_test_error "msr-bad.s" "" "MSR with bad immediate operand" + gas_test_error "msr-bad.s" "-marmv3" "immediate value cannot be used to set this field" gas_test "arm7dm.s" "" $stdoptlist "Arm 7DM instructions"