AnyPS5/core/relinker
Dean Galvin 7103f390cf fix(relinker): keep the host libc.prx needed on Linux when a title bundles its own
A title that ships sce_module/libc.prx makes addHost drop the host
libc.prx from the executable's dependencies. Every host prx needs it, but
their DT_RUNPATH is empty, so loading fails with "libc.prx: cannot open
shared object file".

Mirror the Windows rule from WindowsImportBuilder: when libSceLibcInternal.prx
is a host dependency and no host libc.prx remains, append libc.prx as the
last host dependency. The title's own imports still bind to the guest
modules first.

Refs #476
2026-10-05 20:36:29 +13:00
..
cli feat(relinker): exclude single sce_module files, tolerate a zero code tail 2026-09-29 21:22:11 +03:00
codegen feat(relinker): lower SHA-1 instructions with a memory operand 2026-10-05 02:02:13 +02:00
domain/include/domain fix(relinker): identify unsupported Windows TLS instructions 2026-10-04 19:09:10 +07:00
elfpatcher feat(relinker): lower SHA-1 instructions with a memory operand 2026-10-05 02:02:13 +02:00
io fix(relinker): check byte writer bounds 2026-10-04 20:17:21 -03:00
relinker fix(relinker): keep the host libc.prx needed on Linux when a title bundles its own 2026-10-05 20:36:29 +13:00
CMakeLists.txt fix(relinker): keep the host libc.prx needed on Linux when a title bundles its own 2026-10-05 20:36:29 +13:00
main.cpp fix(relinker): discover bundled modules in prx directories 2026-10-04 23:22:50 -03:00