decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
376 stars 116 forks source link

Remove abi flag from PS2 assemble_cmd #1325

Closed Mc-muffin closed 1 month ago

Mc-muffin commented 1 month ago

With the recent gp_rel workaround added to splat (use_gp_rel_macro_nonmatching: False) previous addiu $rt, $gp, SYMBOL instructions are now la $rt, (SYMBOL), this pseudo expands to daddiu $rt, $gp, SYMBOL when the ABI is set to eabi, which is not what it expanded to with the original assemblers. This PR removes the ABI flag so the pseudo expands to the more appropriate encoding,