Fix msr-bsd test
authorNick Clifton <nickc@redhat.com>
Tue, 2 Jan 2001 19:39:15 +0000 (19:39 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Jan 2001 19:39:15 +0000 (19:39 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/arm.exp

index 0a7995b9dab04fce523e6c7d0f4c3fe1a0a0fa4f..ca795f1ef75fbf7e6a50c71fb3790e5cdaef5cc7 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-02  Nick Clifton  <nickc@redhat.com>
+
+       * 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  <philb@gnu.org>
 
        * gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests.
index 2d5aea2787a58e201823ba74960d344336f9af2f..ba900c907b94f66a784f3025887dada91a203170 100644 (file)
@@ -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"