General code improvements while trying to use LLVM#808
Merged
uyjulian merged 6 commits intops2dev:masterfrom Jan 20, 2026
Merged
General code improvements while trying to use LLVM#808uyjulian merged 6 commits intops2dev:masterfrom
uyjulian merged 6 commits intops2dev:masterfrom
Conversation
5b2426e to
fb3d413
Compare
fb3d413 to
c1cc246
Compare
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
srxfixupirx2 mode that is not compatible with the defaultloadcorewe 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: