Commit | Line | Data |
---|---|---|
4962c51a MS |
1 | @ Test intended to fail for LDRS group relocations. |
2 | ||
3 | @ We will place .text at 0x8000. | |
4 | ||
5 | .text | |
6 | .globl _start | |
7 | ||
8 | _start: | |
62c34db3 NC |
9 | add r0, r0, #:sb_g0_nc:(bar) |
10 | ldrd r2, [r0, #:sb_g1:(bar)] | |
4962c51a | 11 | |
62c34db3 NC |
12 | @ We will place the section foo at 0x8000100 but that should be irrelevant |
13 | @ for sb_g* relocations. | |
4962c51a MS |
14 | |
15 | .section foo | |
62c34db3 | 16 | .set bar,foo + 0x123456 |
4962c51a | 17 |