* testsuite/debug_msg.sh: Test mixed weak/strong symbol behavior.
[binutils.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-6-o32b.s
blob4f8816b3d6d29857323ecfab5e6ec20bd00fc55b
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 .cpload $25
18 lw $25,%call16(extf1)($28)
19 lw $4,%got(extf2)($28)
20 lw $5,%got(extd1)($28)
21 jalr $25
22 lw $6,%got(extd2)($28)
23 lw $25,%call16(extf3)($28)
24 jr $25
25 lw $4,%got(extf4)($28)
26 .end f2
28 .global f3
29 .ent f3
30 f3:
31 jr $31
32 nop
33 .end f3
35 .data
36 .word extd1
37 .word extd3