Restore SD title button-string ownership #567
Reference in New Issue
Block a user
Delete Branch "agent/bittle/sd-title-string-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?
Ownership evidence
The
.sdatatail attributed to SDChannelObj contains B_BtnA at 0x81696E30 and B_BtnB at 0x81696E37. No SDChannelObj text relocation references them. Their only incoming data references are the two entries of SDChannelTitle's button-name table at 0x81696E40; that table's consumers are in SDChannelTitle (for example 0x813E52B4 and 0x813E52FC).Move the adjacent
.sdataboundary 0x81696E40 → 0x81696E30. Replace SDChannelTitle's two external address-labelled string declarations with the ordinary literals in its existingsButtonNamesinitializer. The compiler naturally emits both strings, alignment and pointer table in the original order. No symbol address/size changes, invented padding or weak-vtable edits.This was the concrete additional ownership error found in a broader audit of 714 relocated data blocks; external callback/language tables were excluded as legitimate cross-unit references.
Fresh verification
Rebased on
e0ea5529, after the #496 caller build regression was fixed. Fresh rebuild of both owned objects, full 43U target and report against a separate current-main build..sdata: 96/96 exact; unit data 1,976/2,088 → 2,072/2,072 (100%)..sdata: 192/192 exact; matched data 224/1,960 → 240/1,976. Its unrelated.data/.sdata2and code mismatches remain..textsections are byte-for-byte unchanged from the same-base build (7,604 and 20,096 bytes including extra weak bodies). Exact-function counts remain 37/38 and 62/69. No new code matching claim.all_source, report andbuild/43U/okpass; SHA-1 26116613f624061ba99c8d1a299aaa6efa85670d.Both units retain their previous linking status. Left for Cole's review and merge.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.