[ARC] Fix warn.exp test error.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / group-reloc-ldr-parsing-bad.s
1 @ Tests that are supposed to fail during parsing of LDR group relocations.
2
3 .text
4
5 @ No NC variants exist for the LDR relocations.
6
7 ldr r0, [r0, #:pc_g0_nc:(f)]
8 ldr r0, [r0, #:pc_g1_nc:(f)]
9 ldr r0, [r0, #:sb_g0_nc:(f)]
10 ldr r0, [r0, #:sb_g1_nc:(f)]
11
12 str r0, [r0, #:pc_g0_nc:(f)]
13 str r0, [r0, #:pc_g1_nc:(f)]
14 str r0, [r0, #:sb_g0_nc:(f)]
15 str r0, [r0, #:sb_g1_nc:(f)]
16
17 ldrb r0, [r0, #:pc_g0_nc:(f)]
18 ldrb r0, [r0, #:pc_g1_nc:(f)]
19 ldrb r0, [r0, #:sb_g0_nc:(f)]
20 ldrb r0, [r0, #:sb_g1_nc:(f)]
21
22 strb r0, [r0, #:pc_g0_nc:(f)]
23 strb r0, [r0, #:pc_g1_nc:(f)]
24 strb r0, [r0, #:sb_g0_nc:(f)]
25 strb r0, [r0, #:sb_g1_nc:(f)]
26
27 @ Instructions with a gibberish relocation code.
28
29 ldr r0, [r0, #:foo:(f)]
30 str r0, [r0, #:foo:(f)]
31 ldrb r0, [r0, #:foo:(f)]
32 strb r0, [r0, #:foo:(f)]
33
This page took 0.032793 seconds and 4 git commands to generate.