Now that we're working to get scratch functionality, being able to write .s's is important. Currently, .s writes fail on non-4-byte aligned data (which is possible in X360). And on top of this, we need to able to automatically generate a macros.inc, as well as remove the ELF-isms in the current .s routine (namely removing @ha and @l from relocs).
# 0x82F5E180..0x82F5E184 | size: 0x4
.section .bss, "wa", @nobits
.balign 8
should become
# 0x82F5E180..0x82F5E184 | size: 0x4
.section .bss
.align 3 (because 2^3 = 8)
etc
Now that we're working to get scratch functionality, being able to write .s's is important. Currently, .s writes fail on non-4-byte aligned data (which is possible in X360). And on top of this, we need to able to automatically generate a macros.inc, as well as remove the ELF-isms in the current .s routine (namely removing @ha and @l from relocs).
should become
etc