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 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 29 30 .global f3 31 .ent f3 32f3: 33 jr $31 34 nop 35 .end f3 36 37 .data 38 .word extd1 39 .word extd3 40