Skip to content

Need to fix .s writing #11

@rjkiv

Description

@rjkiv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions