mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-10 11:31:41 -10:00
The syscall bridge supplies _sbrk_r, so the heap stays on libogc's MEM1/MEM2 arenas whichever libsysbase is linked, and the ctype accessor the prebuilt Wii ipc.o calls when newlib exports only the macro. Makefile.wii links the bridge as Makefile.ngc does. The GX linker scripts pin _SDA2_BASE_ to the start of .sdata2, keeping the prebuilt libbte's small-data references in range.