Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Source file used to test the jal macro with -KPIC code. |
2 | ||
de950844 AM |
3 | .weak weak_text_label |
4 | ||
7a621144 | 5 | .ent text_label |
252b5132 | 6 | text_label: |
7a621144 | 7 | .frame $sp,0,$31 |
252b5132 RH |
8 | .set noreorder |
9 | .cpload $25 | |
10 | .set reorder | |
11 | .cprestore 0 | |
12 | jal $25 | |
13 | jal $4,$25 | |
14 | jal text_label | |
de950844 | 15 | jal weak_text_label |
252b5132 | 16 | jal external_text_label |
de950844 | 17 | |
252b5132 RH |
18 | # Test j as well |
19 | j text_label | |
20 | ||
21 | # Round to a 16 byte boundary, for ease in testing multiple targets. | |
22 | nop | |
23 | nop | |
7a621144 DJ |
24 | |
25 | .end text_label |