Commit | Line | Data |
---|---|---|
738e5348 RS |
1 | .set mips16 |
2 | .ent foo | |
3 | foo: | |
4 | move $2,$28 | |
5 | lw $4,%got(l1)($2) | |
6 | lw $4,%got(l2)($2) | |
7 | lw $4,%got(l3)($2) | |
8 | lw $4,%got(l3)($2) | |
9 | lw $4,%got(l1+0x400)($2) | |
10 | addiu $4,%lo(l1) | |
11 | addiu $4,%lo(l1+0x400) | |
12 | addiu $4,%lo(l3) | |
13 | addiu $4,%lo(l2) | |
14 | .align 5 | |
15 | .end foo | |
16 | ||
17 | .data | |
18 | l1: .word 1 | |
19 | ||
20 | .lcomm l2, 4 | |
21 | ||
22 | .rdata | |
23 | .word 1 | |
24 | l3: .word 2 |