Commit | Line | Data |
---|---|---|
5417f71e MR |
1 | .section .text.foo, "ax", @progbits |
2 | .set nomicromips | |
3 | .globl foo | |
4 | .ent foo | |
5 | foo: | |
6 | addiu $sp, $sp, -32 | |
7 | sw $ra, 28($sp) | |
8 | jal baz | |
9 | lw $ra, 28($sp) | |
10 | addiu $sp, $sp, 32 | |
11 | jr $ra | |
12 | .end foo | |
13 | ||
14 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
15 | .align 2 | |
16 | .space 8 | |
17 | ||
18 | ||
19 | .section .text.bar, "ax", @progbits | |
20 | .set micromips | |
21 | .globl bar | |
22 | .ent bar | |
23 | bar: | |
24 | addiu $sp, $sp, -32 | |
25 | sw $ra, 28($sp) | |
26 | jals baz | |
27 | lw $ra, 28($sp) | |
28 | jraddiusp 32 | |
29 | .end bar | |
30 | ||
31 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
32 | .align 2 | |
33 | .space 8 |