Restore keyboard unit identity and getter order, then link #572
Reference in New Issue
Block a user
Delete Branch "agent/bittle/keyboard-unit-filename"
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?
Changes and evidence
The original initializer is
__sinit_\\tiKeyboard_cppat 0x814395C0, while this unit had been reconstructed in tiManager.cpp and naturally emitted__sinit_\\tiManager_cpp. Rename the source to tiKeyboard.cpp and update its build/split path only. Preserve the original symbol name, address and size; no assembler aliases or filename pragma.A linking trial then exposed four correctly matched getters emitted too late as inline bodies. Restore ordinary out-of-line definitions in original order, immediately before setDefaultPredictionJP:
Shared header touched: include/keyboard/tiManager.h. Declaration-only branches are restricted to the existing TIMANAGER_IMPLEMENTATION guard; other units retain their inline definitions. No class layout, vtable shape or behavior changes. These four ordinary return statements restore the linked placement; the earlier trial with filename correction alone failed the DOL gate and was not accepted.
Fresh verification
Rebased on
e062e1c6. Performed a clean rebuild of all source objects for shared-header isolation, then full source/report/DOL gates again after rebase..databytes and 578 owned relocations agree exactly;.ctors4 bytes and.sbss8 bytes also match..data99.117645% and counts matched data 12/2,708. This PR does not claim that object-level data metric is 100%, trim weak tables, or add padding to game it. The full linked binary is the authority, consistent with the review on #484.all_source, report andbuild/43U/okpass. The linked DOL is byte-for-byte identical: SHA-1 26116613f624061ba99c8d1a299aaa6efa85670d.One logical translation unit; Git recognizes the source-file rename. No symbol metadata edits, new assembly, forced data or original binaries. Left for Cole's review and merge.
Reviewed and merged: unit rename is proven by
__sinit_\\tiKeyboard_cpp. tiKeyboard 62/62 exact, now linked, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 forbidden. The only gate 'regression' is the old tiManager unit name disappearing. Good evidence write-up. The header getter guard is acceptable; a later cleanup could move those definitions into tiKeyboard.cpp outright.