AnyPS5/core/relinker
fablevoid 3462427519 fix(relinker): accept absolute symbols in macOS guest modules
#698 taught the reader, the module builder and the Windows writer to
resolve relocations against SHN_ABS symbols and to leave them out of the
exports, but the macOS writer still threw "Unsupported guest export
section" for them. PPSA12544 bundles modules with such an export
(RKDbTdN8TO0), so --macos stopped before writing anything.

The macOS writer now resolves a relocation against an absolute symbol to
its value plus the addend, without a rebase, and skips absolute symbols
when exporting, as the Windows writer does. guest_absolute_symbols covers
the macOS output too.

AI-assisted: yes
2026-10-11 10:16:59 +00:00
..
cli feat(relinker): add --module-dir for modules loaded at run time 2026-10-11 10:11:31 +02:00
codegen fix(relinker): reject x86 instructions exceeding 15 bytes 2026-10-11 03:02:05 -07:00
domain/include/domain feat(relinker): add --module-dir for modules loaded at run time 2026-10-11 10:11:31 +02:00
elfpatcher fix(relinker): accept absolute symbols in macOS guest modules 2026-10-11 10:16:59 +00:00
io fix(relinker): support non-ASCII input paths on Windows 2026-10-10 17:22:07 +00:00
relinker fix(relinker): accept absolute symbols in macOS guest modules 2026-10-11 10:16:59 +00:00
CMakeLists.txt feat(relinker): add --module-dir for modules loaded at run time 2026-10-11 10:11:31 +02:00
main.cpp feat(relinker): add --module-dir for modules loaded at run time 2026-10-11 10:11:31 +02:00