gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-1a.s
blobc54030e88a6bdadcd88de6c1b4d2fafcdbefd63e
1 .abicalls
2 .global f1
3 .global f2
4 .global f3
5 .ent f1
6 f1:
7 .set noreorder
8 .cpload $25
9 .set reorder
10 .option pic0
11 jal f3
12 .option pic2
13 jr $31
14 .end f1
16 .ent f2
17 f2:
18 .set noreorder
19 .cpload $25
20 .set reorder
21 jr $31
22 .end f2
24 .set mips16
25 .ent f3
26 f3:
27 li $2,%hi(_gp_disp)
28 addiu $3,$pc,%lo(_gp_disp)
29 sll $2,16
30 addu $2,$2,$3
31 .end f3