Skip to content

Need to fix .s writing #11

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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