General code improvements while trying to use LLVM #808
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: