Commit | Line | Data |
---|---|---|
d6101ac2 MR |
1 | .text |
2 | ||
3 | .set $bar, bar | |
4 | ||
5 | .globl foo | |
6 | .ent foo | |
7 | foo: | |
8 | .reloc 1f, R_MIPS_JALR, $bar | |
9 | 1: jalr $25 | |
10 | .reloc 1f, R_MIPS_JALR, $bar | |
11 | 1: jr $25 | |
12 | .end foo | |
13 | ||
14 | .ent bar | |
15 | bar: | |
16 | j $31 | |
17 | .end bar | |
18 | ||
19 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
20 | .align 4, 0 | |
21 | .space 16 |