[codex] Match tiPredictLang rodata padding #159

Merged
coah80 merged 1 commits from agent/worker47-rso-system into main 2026-09-22 07:58:37 +00:00
coah80 commented 2026-09-22 07:56:46 +00:00 (Migrated from github.com)

Summary

Adds the missing four-byte .rodata padding symbol in src/keyboard/tiPredictLang.cpp. This restores the original translation unit layout without changing its executable code.

Validation

  • Objdiff unit report: 5536/5536 code bytes, 2300/2300 data bytes, 36/36 functions, and 100% for .ctors, .data, .rodata, .sdata, and .text.
  • pool_diff.py: POOL IDENTICAL up to 14 (mine=14 base=14).
  • Instruction comparison: 36 functions, 0 failures.
  • git diff --check: clean.

The repository-wide 43U DOL hash remains outside this focused unit's scope because the current branch still has unrelated incomplete linked units.

Note

Add rodata padding object to tiPredictLang.cpp

Adds an externally linked, C-compatible 32-bit zero-valued constant placed in the read-only data section. This aligns the compiled object with a matching rodata layout. No caller-visible runtime behavior changes.

Macroscope summarized f6dae44.

## Summary Adds the missing four-byte `.rodata` padding symbol in `src/keyboard/tiPredictLang.cpp`. This restores the original translation unit layout without changing its executable code. ## Validation - Objdiff unit report: 5536/5536 code bytes, 2300/2300 data bytes, 36/36 functions, and 100% for `.ctors`, `.data`, `.rodata`, `.sdata`, and `.text`. - `pool_diff.py`: `POOL IDENTICAL up to 14 (mine=14 base=14)`. - Instruction comparison: 36 functions, 0 failures. - `git diff --check`: clean. The repository-wide 43U DOL hash remains outside this focused unit's scope because the current branch still has unrelated incomplete linked units. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Add rodata padding object to `tiPredictLang.cpp` > Adds an externally linked, C-compatible 32-bit zero-valued constant placed in the read-only data section. This aligns the compiled object with a matching rodata layout. No caller-visible runtime behavior changes. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized f6dae44.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.