mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
Two guest modules export the same `shared` function and `tls_value` TLS symbol with default visibility; the second has DF_SYMBOLIC. Each module's entry calls its own `shared` through R_X86_64_64, GLOB_DAT and JUMP_SLOT relocations and adds its own `tls_value` read through a TPOFF64 relocation. The converted Windows executable calls both entries and must exit with the value only reachable when every reference binds to its own module: (3 * 1 + 4) + (3 * 2 + 8) * 16. Co-Authored-By: Claude Opus 5.5 <[email protected]>