mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
Add missing test files from 2013-03-21 commit.
This commit is contained in:
parent
ed5acf27f7
commit
0f7325f98d
3
gas/testsuite/gas/arm/thumb2_str-bad.d
Normal file
3
gas/testsuite/gas/arm/thumb2_str-bad.d
Normal file
@ -0,0 +1,3 @@
|
||||
#name: Invalid Thumb-2 str instructions
|
||||
#as: -march=armv6kt2
|
||||
#error-output: thumb2_str-bad.l
|
4
gas/testsuite/gas/arm/thumb2_str-bad.l
Normal file
4
gas/testsuite/gas/arm/thumb2_str-bad.l
Normal file
@ -0,0 +1,4 @@
|
||||
[^:]*: Assembler messages:
|
||||
[^:]*:8: Error: cannot use register index with PC-relative addressing -- `str r0,\[pc,4\]'
|
||||
[^:]*:9: Error: cannot use register index with PC-relative addressing -- `str r0,d'
|
||||
[^:]*:10: Error: r15 not allowed here -- `str pc,\[r0\]'
|
15
gas/testsuite/gas/arm/thumb2_str-bad.s
Normal file
15
gas/testsuite/gas/arm/thumb2_str-bad.s
Normal file
@ -0,0 +1,15 @@
|
||||
.syntax unified
|
||||
.text
|
||||
.align 2
|
||||
.global thumb2_str
|
||||
.thumb
|
||||
.thumb_func
|
||||
thumb2_str:
|
||||
str r0, [pc, 4]
|
||||
str r0, d
|
||||
str pc, [r0]
|
||||
|
||||
.space 4
|
||||
.align
|
||||
d:
|
||||
.long 0
|
Loading…
Reference in New Issue
Block a user