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