feat(libc): export the wide num_put facet vtable as data #9845
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9845"
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?
Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-22T17:43:11Z.
What
Export
num_put<wchar_t>'s vtable (NID59oywaaZbJk) as fourteen zeroeduintptr_tslots plus the matching facetid, so titles that resolve it as data get a 112-byte object matching titlelibc.prx(PPSA16833 / LEGO Batman). Facet calls through the slots still fault until methods are wired (debt note). Orthogonal to #9698 (char vtable size) and #9038 (char_Getcat).Tested
python tools/check_conventions.py --base upstream/main— passguest_locale_testswith this change and ran it on Windows MinGW; outputGuest locale checks passed(loadbuild-win/core/libs/libs/unpatched/libc.prxahead of otherlibc.prxonPATH)Checklist
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T17:51:02Z.
Review: APPROVED
Reviewed the complete updated diff, its writable zero-initialized data test, and the author-reported Windows MinGW locale test rerun after rebasing onto current main. No code issue found. CI has conventions/report/eligibility and Linux register-context passing; the remaining relinker/register-context jobs were still pending at my last check, and product builds are skipped.