Commit | Line | Data |
---|---|---|
1 | @ Test intended to fail for LDR group relocations. | |
2 | ||
3 | @ We will place .text at 0x8000. | |
4 | ||
5 | .text | |
6 | .globl _start | |
7 | ||
8 | _start: | |
9 | add r0, r0, #:pc_g0_nc:(bar) | |
10 | ldr r1, [r0, #:pc_g1:(bar + 4)] | |
11 | ||
12 | @ We will place the section foo at 0x8001000. | |
13 | ||
14 | .section foo | |
15 | ||
16 | bar: | |
17 | mov r0, #0 | |
18 |