Fixes up some bug prone code by adding asserts/using known struct sizes, and adds kernel support + and reloc stripping. Tested and working with no changes to output for sample executables, but it would be wise to run the PSP CI for final confirmation.
(this was part of my effort to fix exception handling, but ultimately had no effect - but rather than let the work go to waste I'll upstream it)
Fixes up some bug prone code by adding asserts/using known struct sizes, and adds kernel support + and reloc stripping. Tested and working with no changes to output for sample executables, but it would be wise to run the PSP CI for final confirmation.
(this was part of my effort to fix exception handling, but ultimately had no effect - but rather than let the work go to waste I'll upstream it)