Commit | Line | Data |
---|---|---|
98605598 RS |
1 | .sdata |
2 | .global foo | |
3 | .globl bar | |
4 | foo: .byte 1 | |
5 | .byte 2 | |
6 | bar: .byte 3 | |
7 | .byte 4 | |
8 | ||
9 | .text | |
10 | .set mips16 | |
11 | .global f | |
12 | .ent f | |
13 | f: | |
14 | lb $2,%gprel(bar)($3) | |
15 | lb $2,%gprel(bar+1)($3) | |
1dd3d627 | 16 | lb $2,%gprel(bar+0x1234)($3) |
98605598 | 17 | .end f |
fd512f5c L |
18 | |
19 | # align section end to 16-byte boundary for easier testing on multiple targets | |
20 | .p2align 4 |