1*56bb7041Schristos .set noreorder 2*56bb7041Schristos .abicalls 3*56bb7041Schristos .global f1 4*56bb7041Schristos .ent f1 5*56bb7041Schristosf1: 6*56bb7041Schristos .option pic0 7*56bb7041Schristos jal f3 8*56bb7041Schristos .option pic2 9*56bb7041Schristos lui $2,%hi(f2) 10*56bb7041Schristos jr $31 11*56bb7041Schristos addiu $2,$2,%lo(f2) 12*56bb7041Schristos .end f1 13*56bb7041Schristos 14*56bb7041Schristos .global f2 15*56bb7041Schristos .ent f2 16*56bb7041Schristosf2: 17*56bb7041Schristos lui $28,%hi(%neg(%gp_rel(f2))) 18*56bb7041Schristos addu $28,$28,$25 19*56bb7041Schristos addiu $28,$28,%lo(%neg(%gp_rel(f2))) 20*56bb7041Schristos ld $25,%call16(extf1)($28) 21*56bb7041Schristos ld $4,%got_disp(extf2)($28) 22*56bb7041Schristos ld $5,%got_disp(extd1)($28) 23*56bb7041Schristos jalr $25 24*56bb7041Schristos ld $6,%got_disp(extd2)($28) 25*56bb7041Schristos ld $25,%call16(extf3)($28) 26*56bb7041Schristos jr $25 27*56bb7041Schristos ld $4,%got_disp(extf4)($28) 28*56bb7041Schristos .end f2 29*56bb7041Schristos 30*56bb7041Schristos .global f3 31*56bb7041Schristos .ent f3 32*56bb7041Schristosf3: 33*56bb7041Schristos jr $31 34*56bb7041Schristos nop 35*56bb7041Schristos .end f3 36*56bb7041Schristos 37*56bb7041Schristos .data 38*56bb7041Schristos .word extd1 39*56bb7041Schristos .word extd3 40