Restore hardware-keyboard rodata table order #493
Reference in New Issue
Block a user
Delete Branch "agent/bittle/hw-keyboard-data-order"
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
Follow-up to merged #486. The remaining hardware-keyboard
.rodatamismatch is real source-token emission order: the two 12-byte country maps precede the 16-byte character-input template in source output, whereas the original puts the template first.Move the existing country-map definitions after
updateTriggerKey_and beforecontrolKeys. Keep their existing external symbol names with C linkage inside the namespace. No table values, function bodies or assembly change. This naturally emits the original order:KeyInputDatainitializer at 0x81616BC8Fresh verification
Rebased on
a348c977(rebased again after concurrent main merges; includes #483, #485, #486 and #487). Independently rebuilt the owned source object, full 43U target and report against a fresh main report..rodata176/176 bytes identical, score 90.909096% → 100%.updateTriggerKey_) and 14/14 (setLanguage), both zero differences.build/43U/okpass; SHA-1 26116613f624061ba99c8d1a299aaa6efa85670d.Remains NonMatching. The remaining BSS/weak-static and sdata2 symbol-boundary issues are separate; an exploratory Matching flip did not pass the DOL gate and was reverted. No padding, forced data, weak-vtable removal, original binaries, or new assembly. Left for Cole's review and merge.
Reviewed and merged. Clean rebuild: DOL sha1 unchanged, tiHwKeyboard 10/10 with matched data 472/504, .rodata order now real. Nice follow-up to #486. One note for later: the two maps still carry the pre-existing lbl_81616BD8/lbl_81616BE4 names; once nothing else depends on those exact names, giving them real ones (e.g. the country it maps) would be a good cleanup.