Commit | Line | Data |
---|---|---|
3c74c164 AO |
1 | ! Check MOVI expansion of local symbols that should get segment-relative |
2 | ! relocations. | |
3 | .text | |
4 | start: | |
5 | movi forw + 32,r33 | |
6 | movi forwdata + 40,r54 | |
7 | movi forwothertext + 44,r15 | |
8 | forw: | |
9 | movi forwotherdata + 48,r25 | |
10 | ||
11 | .data | |
12 | .long 0 ! To get a non-zero segment offset for "forwdata". | |
13 | forwdata: | |
14 | .long 0 | |
15 | ||
16 | .section .text.other,"ax" | |
17 | forwdummylabel: ! Needed to hang a marker that this section is SHmedia. | |
18 | nop | |
19 | nop | |
20 | forwothertext: | |
21 | nop | |
22 | ||
23 | .section .data.other,"aw" | |
24 | .long 0 | |
25 | .long 0 | |
26 | forwotherdata: | |
27 | .long 0 | |
28 |