feat(libSceLibcInternal): implement __longjmp #15852
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15852"
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 namanipie on 2026-11-04T19:43:07Z.
What
Implement
__longjmp(NID9mKjVppFsL0) inlibSceLibcInternal. In FreeBSD System V amd64 ABI,__longjmpis an entry alias for_longjmpin_setjmp.S, restoring non-volatile registers (rbx,rsp,rbp,r12-r15), MXCSR, and x87 control word without modifying the signal mask.Tested
libSceLibcInternalandguest_libc_internal_longjmp_testsctest --test-dir build -R guest_libc_internal_longjmp --repeat until-fail:3 -V: 3 of 3 passed (0.01s)ctest --test-dir build -R guest_underscore_jumps -V: passed (0.04s)__longjmp_nid_postfixaborted onmainvialibSceLibcInternalInventory_266_nid_no_patch(NotImplemented_nid_no_patch); with this PR, all checks passtools/check_conventions.py --base origin/mainandgit diff --check: passChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)