Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-6-n64b.s
blob7a7979ca75461e2ebe7d3a4785f87fbbd31ad993
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 ld $25,%call16(extf1)($28)
21 ld $4,%got_disp(extf2)($28)
22 ld $5,%got_disp(extd1)($28)
23 jalr $25
24 ld $6,%got_disp(extd2)($28)
25 ld $25,%call16(extf3)($28)
26 jr $25
27 ld $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