* gas/arm/noarm.d: Drive test for above.
* gas/arm/noarm.l: Expected error output.
+2006-08-16 Julian Brown <julian@codesourcery.com>
+
+ * gas/arm/noarm.s: Add test for disabled ARM insns.
+ * gas/arm/noarm.d: Drive test for above.
+ * gas/arm/noarm.l: Expected error output.
+
2006-08-15 Thiemo Seufer <ths@mips.com>
Nigel Stephens <nigel@mips.com>
David Ung <davidu@mips.com>
--- /dev/null
+# name: Disallow ARM instructions on V7M
+# as:
+# error-output: noarm.l
--- /dev/null
+[^:]*: Assembler messages:
+[^:]*:12: Error: selected processor does not support ARM opcodes
+[^:]*:13: Error: attempt to use an ARM instruction on a Thumb-only processor -- `nop'
--- /dev/null
+ .arch armv7a
+ .syntax unified
+ .text
+func:
+ nop
+ movw r0, #0
+
+ .arch armv7
+ .thumb
+ nop
+ movw r0, #0
+ .arm
+ nop