OpenOrbis / OpenOrbis-PS4-Toolchain

The OpenOrbis PS4 custom toolchain. Allows developers to build homebrew for the PS4 without the official SDK.
GNU General Public License v3.0
476 stars 89 forks source link

Fix TLS in libraries #209

Open Cryptogenic opened 2 years ago

Cryptogenic commented 2 years ago

Libraries / PRX that use TLS encounter crashes because it's not initialized properly. This is possibly due to the somewhat hacky nature that we compile them with, as sleirsgoevy points out that executables will use fs-relative linking, which is invalid for libraries. Needs to be investigated and fixed.