Commit | Line | Data |
---|---|---|
d3fca0b5 MR |
1 | # Source file used to test the jal macro with -KPIC code. |
2 | ||
3 | .weak weak_text_label | |
4 | ||
5 | .ent text_label | |
6 | text_label: | |
7 | .frame $sp,0,$31 | |
8 | .set noreorder | |
9 | .cpload $25 | |
10 | .cprestore 0 | |
11 | jal $25 | |
12 | jal $4,$25 | |
13 | jal text_label | |
14 | jal weak_text_label | |
15 | jal external_text_label | |
16 | ||
17 | # Test j as well. | |
18 | j text_label | |
19 | .set reorder | |
20 | nop | |
21 | .end text_label | |
22 | ||
23 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
24 | .align 2 | |
25 | .space 8 |