2002-01-05 Daniel Jacobowitz <drow@mvista.com>
[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
21 # Round to a 16 byte boundary, for ease in testing multiple targets.
22         nop
23         nop
24
25         .end text_label