* 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.
This commit is contained in:
parent
267d2029e7
commit
07161fb2ba
4 changed files with 25 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
|
3
gas/testsuite/gas/arm/noarm.d
Normal file
3
gas/testsuite/gas/arm/noarm.d
Normal file
|
@ -0,0 +1,3 @@
|
|||
# name: Disallow ARM instructions on V7M
|
||||
# as:
|
||||
# error-output: noarm.l
|
3
gas/testsuite/gas/arm/noarm.l
Normal file
3
gas/testsuite/gas/arm/noarm.l
Normal file
|
@ -0,0 +1,3 @@
|
|||
[^:]*: 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'
|
13
gas/testsuite/gas/arm/noarm.s
Normal file
13
gas/testsuite/gas/arm/noarm.s
Normal file
|
@ -0,0 +1,13 @@
|
|||
.arch armv7a
|
||||
.syntax unified
|
||||
.text
|
||||
func:
|
||||
nop
|
||||
movw r0, #0
|
||||
|
||||
.arch armv7
|
||||
.thumb
|
||||
nop
|
||||
movw r0, #0
|
||||
.arm
|
||||
nop
|
Loading…
Reference in a new issue