Commit | Line | Data |
---|---|---|
9e009953 MR |
1 | .abicalls |
2 | ||
3 | .section .text.foo, "axG", @progbits, bar, comdat | |
4 | .align 2 | |
5 | .ent foo | |
6 | .type foo, @function | |
7 | foo: | |
8 | .frame $sp, 0, $31 | |
9 | .mask 0x00000000, 0 | |
10 | .fmask 0x00000000, 0 | |
11 | jr $31 | |
12 | .end foo | |
13 | .size foo, . - foo | |
14 | ||
15 | .section .text.bar, "axG", @progbits, bar, comdat | |
16 | .align 2 | |
17 | .globl bar | |
18 | .ent bar | |
19 | .type bar, @function | |
20 | bar: | |
21 | .frame $sp, 0, $31 | |
22 | .mask 0x00000000, 0 | |
23 | .fmask 0x00000000, 0 | |
24 | .set noreorder | |
25 | .cpload $25 | |
26 | .set reorder | |
27 | beqz $4, 1f | |
28 | .set noreorder | |
29 | lw $2, %got(foo)($28) | |
30 | 0: | |
31 | jr $31 | |
32 | addiu $2, $2, %lo(foo) | |
33 | 1: | |
34 | b 0b | |
35 | lw $2, %got(foo)($28) | |
36 | .set reorder | |
37 | .end bar | |
38 | .size bar, . - bar |