Match iplCalendar data #210

Merged
coah80 merged 1 commits from agent/continue-0923/iplCalendar-data into main 2026-09-23 02:32:41 +00:00
coah80 commented 2026-09-23 02:29:43 +00:00 (Migrated from github.com)

This change moves the seven zero-valued backing entries into Calendar::is_lower_limit and removes the weak calendar_data_pad helper. The focused object matches the calendar unit's code, data, functions, and sections.

Validation:

  • Focused 43U object build completed.
  • String pool identical, 37/37.
  • Objdiff report: 7,452/7,452 code bytes, 1,244/1,244 data bytes, 42/42 functions, and every section at 100%.
  • Calendar::is_lower_limit ctxdiff: 0 differences, 14/14 instructions.
  • ninja -C . build/43U/ok links but fails its DOL checksum. The current output is 9ef9a29fb179f32f4ebc97df85b2ab31d684eb88; expected is 26116613f624061ba99c8d1a299aaa6efa85670d. A clean worktree at the same base with the calendar source unchanged produces the same current hash, so this is the shared baseline mismatch noted by the parent reviewer.

Note

Replace calendar_data_pad helper with inline .data padding objects in iplCalendar.cpp

  • Removes the weak ipl.scene.calendar_data_pad helper and its single .data-section padding object.
  • Adds seven file-emitted floating-point padding objects directly inside ipl.scene.Calendar::is_lower_limit, each placed in .data, one-byte aligned, and marked used.
  • The date comparison logic is unchanged.
  • Behavioral Change: the weak helper symbol ipl.scene.calendar_data_pad is no longer defined in this translation unit; any external reference to it will now resolve to a different definition or fail to link.

Macroscope summarized d03e747.

This change moves the seven zero-valued backing entries into `Calendar::is_lower_limit` and removes the weak `calendar_data_pad` helper. The focused object matches the calendar unit's code, data, functions, and sections. Validation: - Focused 43U object build completed. - String pool identical, 37/37. - Objdiff report: 7,452/7,452 code bytes, 1,244/1,244 data bytes, 42/42 functions, and every section at 100%. - `Calendar::is_lower_limit` ctxdiff: 0 differences, 14/14 instructions. - `ninja -C . build/43U/ok` links but fails its DOL checksum. The current output is `9ef9a29fb179f32f4ebc97df85b2ab31d684eb88`; expected is `26116613f624061ba99c8d1a299aaa6efa85670d`. A clean worktree at the same base with the calendar source unchanged produces the same current hash, so this is the shared baseline mismatch noted by the parent reviewer. <!-- 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] > ### Replace `calendar_data_pad` helper with inline `.data` padding objects in `iplCalendar.cpp` > - Removes the weak `ipl.scene.calendar_data_pad` helper and its single `.data`-section padding object. > - Adds seven file-emitted floating-point padding objects directly inside `ipl.scene.Calendar::is_lower_limit`, each placed in `.data`, one-byte aligned, and marked used. > - The date comparison logic is unchanged. > - Behavioral Change: the weak helper symbol `ipl.scene.calendar_data_pad` is no longer defined in this translation unit; any external reference to it will now resolve to a different definition or fail to link. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized d03e747.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.