Restore letter animation-table rodata ownership #486
Reference in New Issue
Block a user
Delete Branch "agent/bittle/letter-rodata-ownership"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evidence
Move the MyTiLetterForm / tiHwKeyboard
.rodataboundary from 0x81616B88 to 0x81616BC8. This is a two-line split correction; no source, symbols, linking flags or binary contents change.MyTiLetterForm naturally emits eight 68-byte animation records (544 bytes) followed by four 60-byte animation groups (240 bytes): 784 bytes total. The old 720-byte split cut off the final null pointer of group three plus all of group four, assigning those 64 bytes to tiHwKeyboard. The fourth group is
N_SendMes, count 1, pointing to animationFiles[5]. Its two relocations at 0x81616B90 and 0x81616B98 resolve to the letter string pool (+124) and letter animationFiles (+340). Neither belongs to the hardware-keyboard tables.Independently checked the corrected reference against the existing compiler output: 784/784 raw rodata bytes identical and all 18 normalized relocations identical. This confirms the earlier observation recorded in MyTiLetterForm.attempts.md. It is an animation-table boundary error, not weak-vtable deduplication.
Fresh verification
Reference/rebase:
3946983f. Rebuilt both source objects, regenerated split/reference objects and full report..rodata: 720 bytes / 95.74468% → 784 bytes / 100%..rodata: 240 bytes / 10% → 176 bytes / 90.909096%. Its existing 16-byte table-order mismatch remains; no claim of full data matching or linking.build/43U/okpass. DOL SHA-1 26116613f624061ba99c8d1a299aaa6efa85670d.Both units remain NonMatching: the remaining data/relocation problems are separate from this proven ownership correction. Local ctxdiff adapter uses Capstone with raw-word fallback for unsupported Gekko instructions and normalized branch/relocation targets; no tooling modifications are part of this PR. Left for Cole's review and merge.
Reviewed and merged. Clean rebuild: DOL sha1 unchanged, 0 regressions. The relocation evidence (0x81616B90/98 resolving into the letter string pool and animationFiles) plus the 784/784 byte match is a solid ownership proof. Same feedback as #483: this is a high-value pattern, keep looking for split boundaries whose relocations point into the neighbouring unit.