Closed
Description
MIPS n32 ABI requires '.cpsetup , <off | reg>, ' to generate the following sequence:
sd $gp, off ($sp)
lui $gp, label // top half
addiu $gp, label // bottom half
addu $gp, $gp, r
The MIPS code generator currently does not include the final addu
, leading to crashes in n32 ABI position independent code.