Commit | Line | Data |
---|---|---|
70e65ca8 MR |
1 | .text |
2 | .set noreorder | |
3 | .space 0x1000 | |
4 | ||
5 | .align 4 | |
6 | .set nomicromips | |
7 | .globl foo | |
8 | .ent foo | |
9 | foo: | |
10 | nor $0, $0 | |
11 | jalr $0, $ra | |
12 | nor $0, $0 | |
13 | .end foo | |
14 | ||
15 | .align 4 | |
16 | .set micromips | |
17 | .globl bar | |
18 | .ent bar | |
19 | bar: | |
20 | nor $0, $0 | |
21 | bal foo + 0x10000 | |
22 | nor $0, $0 | |
23 | bal bar + 0x10000 | |
24 | nor $0, $0 | |
25 | jalr $0, $ra | |
26 | nor $0, $0 | |
27 | .end bar | |
28 | ||
29 | # Force some (non-delay-slot) zero bytes, to make 'objdump' print ... | |
30 | .align 4, 0 | |
31 | .space 16 |