Export the symbol list from the compiled elf and call splat split TARGET --disassemble-all, so symbols cross can correctly cross-reference the symbols.
Now there is also a warning when symbols cannot be cross-referenced correctly.
cc. @hohle I noticed this issue on your stream
Before:
$ tools/make-config.py --version hd cen
✔ generating psx splat config
✔ splitting config/splat.hd.stcen.yaml
✔ adjusting files at src/st/cen
✔ disassembling matched functions
✔ finding duplicates across overlays
✔ adding cross-referenced function names
✔ renamed 99 functions, splitting again
✔ cross-referencing 0 functions
✔ adding cross-referenced symbol names
Now:
$ tools/make-config.py --version hd cen
✔ generating psx splat config
✔ splitting config/splat.hd.stcen.yaml
✔ adjusting files at src/st/cen
✔ disassembling matched functions
✔ finding duplicates across overlays
✔ adding cross-referenced function names
✔ renamed 99 functions, splitting again
✔ splitting config/splat.us.stcen.yaml 👈 NEW!
✔ cross-referencing 98 functions 👈 FIXED!
✔ adding cross-referenced symbol names
✔ renamed 56 data/bss symbols, splitting again 👈 56 instead of 0!
Export the symbol list from the compiled elf and call
splat split TARGET --disassemble-all
, sosymbols cross
can correctly cross-reference the symbols.Now there is also a warning when symbols cannot be cross-referenced correctly.
cc. @hohle I noticed this issue on your stream
Before:
Now: