mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* 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:
@ -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>
|
2006-08-15 Thiemo Seufer <ths@mips.com>
|
||||||
Nigel Stephens <nigel@mips.com>
|
Nigel Stephens <nigel@mips.com>
|
||||||
David Ung <davidu@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
|
Reference in New Issue
Block a user