gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-6-n32b.s
blob48cf97f0840b5b4c12facb686bb3663fbd76c14f
1 .set noreorder
2 .abicalls
3 .global f1
4 .ent f1
5 f1:
6 .option pic0
7 jal f3
8 .option pic2
9 lui $2,%hi(f2)
10 jr $31
11 addiu $2,$2,%lo(f2)
12 .end f1
14 .global f2
15 .ent f2
16 f2:
17 lui $28,%hi(%neg(%gp_rel(f2)))
18 addu $28,$28,$25
19 addiu $28,$28,%lo(%neg(%gp_rel(f2)))
20 lw $25,%call16(extf1)($28)
21 lw $4,%got_disp(extf2)($28)
22 lw $5,%got_disp(extd1)($28)
23 jalr $25
24 lw $6,%got_disp(extd2)($28)
25 lw $25,%call16(extf3)($28)
26 jr $25
27 lw $4,%got_disp(extf4)($28)
28 .end f2
30 .global f3
31 .ent f3
32 f3:
33 jr $31
34 nop
35 .end f3
37 .data
38 .word extd1
39 .word extd3