mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-24 12:42:36 +00:00
_init might require working pthreads, due to C++ constructors using mutexes and threads. Since libc does not require _init execution, we simply reorder them. This removes support for kernel-mode _init on user programs that run in kernel mode (mostly old FW 1.5, but should not affect almost any homebrew out there, since they don't use user-mode main thread).