1# relocs against undefined weak symbols should not be treated as 2# overflowing 3 4 5 .globl start 6 .weak foo 7start: 8 .set mips64r6 9 beqzc $2, foo 10 bnezc $2, foo 11 lwpc $2, foo 12 ldpc $2, foo 13 bc foo 14 lui $4, %pcrel_hi(foo) 15 addiu $4, $4, %pcrel_lo(foo) 16 17 .set mips32r2 18 b foo 19 bal foo 20 lui $4, %gp_rel(foo) 21 22 .set micromips 23 beqz16 $4, foo 24 b16 foo 25 b foo 26