Commit | Line | Data |
---|---|---|
4962c51a MS |
1 | @ Test intended to fail for ALU group relocations. |
2 | @ | |
3 | @ Beware when editing this file: it is carefully crafted so that | |
4 | @ a specific PC-relative offset arises. | |
5 | ||
6 | @ We will place .text at 0x8000. | |
7 | ||
8 | .text | |
9 | .globl _start | |
10 | ||
11 | _start: | |
12 | add r0, r0, #:pc_g0:(bar) | |
13 | ||
14 | @ We will place the section foo at 0x9004. | |
15 | ||
16 | .section foo | |
17 | ||
18 | bar: | |
19 | mov r0, #0 | |
20 |