1 .set noreorder 2 .abicalls 3 .global f1 4 .ent f1 5f1: 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 13 14 .global f2 15 .ent f2 16f2: 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 27 28 .global f3 29 .ent f3 30f3: 31 jr $31 32 nop 33 .end f3 34 35 .data 36 .word extd1 37 .word extd3 38