mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 13:33:34 -04:00
54c0624e49
§371 ★★ carving a SINGLE-OBJECT module binary. One 'unaddressable content' message was THREE stacked causes (interior-YAML-comment symbol-list truncation, a trailing verbatim-asm chunk with no region, bare tag forward decls) -- fix one and the message does not change, which is why it read as an impassable wall. Then the reusable part: spimdisasm migrates single-referenced rodata into a function's .s ONLY within the same subseg, so a carve that moves the function silently DROPS it, and INCLUDE_RODATA cannot bring it back (splat marks it migrated segment-wide and emits nothing). Rename the .rodata subseg to the object its emitters moved to; the regenerated .s coming back byte-identical is the proof. Also recorded: the Makefile -O0 glob hunk is PART of the carve, not a follow-up; interleave_check's DRIFT on md_MAIN_003 is PRE-EXISTING and must not be 'fixed'; the still-open second-carve refusal (UNOWNED rodata 0x800cedf8); and the §126 plan for the remaining 8 -O0 stubs (three are ADJACENT so one region covers them). SETUP.md (R21): three tooling-inventory rows covering gater_lane/escalate_fable/ o0_boundary, the six overlay-layout fixes, and the module-binary carve route.