Skip to content

Conversation

@rickgaiser
Copy link
Member

I've got to the point where I can compile all IOP modules using LLVM. However, the generated binaries can only be converted to irx using srxfixup irx2 mode that is not compatible with the default loadcore we all use. For now I'm abandoning LLVM attempts on IOP, but I would like to add some of the changes I made to make it work.

Note on IRX1 using old loadcore:
Uses standard MIPS relocation pairs where R_MIPS_HI16 must be immediately followed by its matching R_MIPS_LO16.

Note on IRX2:
Supports more flexible relocation patterns including:

  • Standalone R_MIPS_LO16 relocations (without preceding HI16)
  • R_MIPS_HI16 not immediately followed by matching R_MIPS_LO16

Copy link
Member

@uyjulian uyjulian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes lgtm

@uyjulian uyjulian merged commit b3e53b3 into ps2dev:master Jan 20, 2026
3 checks passed
@10522 10522 mentioned this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants