Commit Graph

1 Commits

Author SHA1 Message Date
Ethan Lafrenais
37ddaccf9c
Incremental DLL decomp (#86)
* [WIP] Initial support for compiling DLLs from extracted ASM files

* Incremental DLL decomp

* Fix dll_split.py only working for DLL 121...

* Fix DLL section size calculations

* More DLL tool fixes and tweaks

* Optimize DLL parsing

* Add verbose and quiet flags to dll_split.py

* Fix executable bit for dll_split.py and dlltab.py

* Misc tool fixes

* Fix remaining issues with DLL splitting/recomp

* Add dllimports.py

* Let DLLs have optional custom linker scripts

* Make final ROM ELF link dependencies implicit

* Match DLL 82

* Clean and fixup dllimports.py

* Use existing syms.txt names when splitting DLLs

* Convert $gp initializer when parsing DLLs

* Update files under 'expected/' if the source file changed

* When auto-generating DLL syms.txt, emit initial function symbols

* Match DLL 83

* Fix .text relocations being out of order due to asm_processor

* Change auto generated symbol names for DLL code

* Nearly match DLL 223 (CannonClaw)
2022-04-24 00:29:21 -04:00