Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / mips / jal-svr4pic.s
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         .set    reorder
11         .cprestore      0
12         jal     $25
13         jal     $4,$25
14         jal     text_label
15         jal     weak_text_label
16         jal     external_text_label
17
18 # Test j as well.
19         j       text_label
20         .end    text_label
21
22 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
23         .align  2
24         .space  8