AnyPS5/core/relinker
saxopa cded9ba8c3 fix(relinker): accept RELATIVE relocations against a zero-value section symbol
OpenOrbis create-fself adds one to the symbol index of every relocation it
copies from .rela.dyn, so each R_X86_64_RELATIVE entry of a homebrew built
with the OpenOrbis toolchain names symbol 1, a local STT_SECTION symbol with
value 0. FreeBSD rtld computes RELATIVE as base + addend without reading the
symbol. The pipeline, the code analysis and the strict filter now accept
index 0 or a STT_SECTION symbol with value 0, and still throw for any other
symbol. The relocation is written with symbol index 0, where the pipeline
previously dropped RELATIVE entries with a nonzero index.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 03:12:02 +02:00
..
cli feat(relinker): trap exact SDK syscall stubs on request 2026-10-11 16:54:02 +00:00
codegen fix(codegen): reject rewrites inside instructions 2026-10-11 19:56:00 +04:00
domain/include/domain feat(relinker): add --module-dir for modules loaded at run time 2026-10-11 10:11:31 +02:00
elfpatcher Merge pull request #3774 from MrMha/fix/program-layout-ranges 2026-10-12 00:00:46 +02:00
io fix(relinker): support non-ASCII input paths on Windows 2026-10-10 17:22:07 +00:00
relinker fix(relinker): accept RELATIVE relocations against a zero-value section symbol 2026-10-12 03:12:02 +02:00
CMakeLists.txt perf(relinker): use a flat sorted call-site index 2026-10-12 00:11:00 +02:00
main.cpp Merge pull request #3804 from MarcZX100/codex/relinker-trap-sdk-syscalls-2136 2026-10-12 00:05:38 +02:00