fix(relinker): find the PLT before the code in PS4 modules #6354

Merged
SandstromPL merged 2 commits from upstream-pr/6354 into main 2026-10-18 23:32:37 +00:00
SandstromPL commented 2026-10-15 12:55:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SandstromPL on 2026-10-15T12:55:42Z.


What

Until Dawn (CUSA02636) bundles libSceFios2.prx and libc.prx (01.00). Their conversion stops in the code analysis, for libSceFios2.prx with:

PLT not found after the last unwind function (offset 0x3d033)

SuperCatElvis reported it on #3093 as stop 9 of the title's conversion, on main d92a8da. They reached it after #5138 and scratch fixes for the other stops before it. Both modules have their PLT at 0xc8, at the start of the text segment, before the code. In libSceFios2.prx the last unwind function ends at 0x3d033, and what follows is the module's DT_FINI routine at 0x3d040, 0x7d bytes without an unwind entry, then read-only data that includes the zlib CRC-32 table. libc.prx has the same layout: its DT_FINI routine at 0x828a0 follows its last unwind function [0x82890, 0x82896), and about 213 KiB of read-only data follow the routine.

#3142 (Get-fix's commit, carried by MarcZX100) stopped the pipeline's syscall and call-site scans of executables at the end of the PLT that follows the last unwind function, so that the read-only data after the code is not decoded as code. My #5195 moved that search into FindSceCodeEnd and applied the same end to the code analysis of the Windows and macOS outputs, for executables and guest modules. The search only looks after the last unwind function, so these two modules fail there.

When no PLT follows the last unwind function, FindSceCodeEnd now also looks before it:

  • It looks for the same PLT0 (push [GOT+8]; jmp [GOT+16]) anywhere from the start of the segment up to the end of the last unwind function.
  • That PLT (PLT0 plus 16 bytes per DT_SCE_PLTRELSZ entry) must not overlap an unwind function. Otherwise the conversion fails with PLT overlaps an unwind function.
  • The extent then ends at the end of the last unwind function, so the data after it stays out. Without that, stop 10 follows: overlapping instruction boundaries (offset 0x3d1fe) inside the CRC-32 table.
  • A PLT found in neither place fails with PLT not found before or after the unwind functions.

A PLT after the code, as in the executables converted so far, is found first, with the same result as before. That includes #5195's case of code without unwind entries between the last function and the PLT.

When the PLT comes first, there is no PLT after the code to bound the extent. The end of the last unwind function is then the only bound that doesn't guess the length of code without an unwind entry. #3093 ruled this bound out for the PLT-after layout because code without unwind entries can sit before the PLT, and that layout is unchanged. The cost: when the PLT comes before the code, code after the last unwind function that has no unwind entry is not analysed, and nothing reports it. An entry point, a branch target or an fs: access found there is dropped without an error; the debt entry records this.

  • In both modules this is the DT_FINI routine, which the Windows and macOS outputs call when the program exits (WindowsGuestStartup::Finalize, and the fini stub that MacOsImage.cpp registers with __cxa_atexit). The code analysis starts from DT_FINI only inside the extent, so both routines are dropped, and an fs: access in one would run unchanged on the host.
  • For these two modules this should lose nothing. SuperCatElvis reports that the libSceFios2.prx routine makes no fs: access, and that the libc.prx one reads the pointer at 0xbc880 and calls 0x2fa50 through it; I've asked whether that one has an fs: access. The code analysis rewrites no indirect call: the relocation sets the pointer, and 0x2fa50 is already a root as a function symbol (symbol 1411 in SuperCatElvis's table), and with #6357 also as a relocation target.
  • With the same trimming, their run got past stops 9 and 10. Their full conversion then completed only after one more scratch change, for stop 11: libc.prx's RELATIVE relocation with a symbol, which MarcZX100's #6357 handles.
  • Both PLTs end before the first unwind function, so the overlap check passes: [0xc8, 0x5b8) before 0x5c0 in libc.prx, and [0xc8, 0x5d8) before 0x5e0 in libSceFios2.prx, each followed by 8 zero bytes.

Tested

Ubuntu 24.04, GCC 13.3, Release with BUILD_TESTING=ON, on main 71bd2876e. Locally the libusb submodule isn't checked out, so I removed its two lines from CMakeLists.txt. libSceUsbd then fails to compile, and ninja -k 0 built everything that does not depend on it.

sce_code_extent (relinker/tests/test_sce_code_extent.py) can now put the PLT before the code: at 0x180, before the unwind function at 0x200, with the data right after the function. It can also add a second unwind function before the PLT, and put an unsupported TLS instruction in the function. As in #5195, the fixture is converted as the main executable (--skip-sce-module), so each case goes through both callers. No case converts an sce_module module. A module like libSceFios2.prx reaches the same FindSceCodeEnd only through the code analysis, which the Windows and macOS guest module writers run on the module's own bytes and program headers.

Case Result
PLT before the code (Windows and macOS) converts, with the import's call site in the PLT
the same, with a lea in the function pointing into the data after it, at fs-prefixed overlapping bytes (the shape of stop 10) converts; the bytes after the function are not analysed
the same, with the ELF entry point right after the function, on an unsupported TLS instruction converts; the entry point after the code is not analysed (the trade-off above)
the same, with another unwind function before the PLT converts
the same, with an unsupported TLS instruction in the function after the PLT throws Unsupported ... guest TLS instruction, so the function after the PLT is still analysed
a PLT ending where the function begins, and a PLT starting where an earlier function ends convert (touching is not overlapping)
a PLT over the start of the function, and over its end throws PLT overlaps an unwind function
no PLT throws PLT not found before or after the unwind functions (renamed)

On main all 15 cases fail with PLT not found after the last unwind function. With the change they pass, 5 runs out of 5. The test also fails if:

  • the overlap check is removed, or either of its comparisons is made inclusive;
  • the backward search stops 16 bytes before the end of the last function, which misses a PLT straddling it;
  • the extent runs to the end of the segment, so the data is scanned (Cannot decode instruction);
  • the extent ends at the PLT, so the function after it is cut off (invalid function range).

The registry check in the test now compares call sites case-insensitively: the relinker writes 0x1F0, and earlier PLT addresses happened to have no hex letters.

Other checks:

  • Full ctest on the RTX 3050 Ti: 1,243 of 1,248 pass, and all relinker tests pass.
    • 12 tests skip themselves: agc_driver_stencil_ref_export on this GPU, and the VideoOut flip and frame-dump tests, which need a display.
    • patched_libraries and guest_usbd are Not Run, because the libusb submodule isn't checked out.
    • Three tests failed, in code this branch does not change:
      • agc_pending_key_stores fails on main since #6247, as reported there.
      • agc_driver_store_over_untracked fails 6 runs out of 10 when run alone here.
      • guest_kernel_fcntl aborted once under ctest -j10, and then passed 10 runs out of 10 when run alone.
  • Not run on the game here; we have no game files. The stop is SuperCatElvis's.
  • Merges: the branch merges cleanly with main 5d9dcc42d. 28 open PRs touch these files, all through docs/dev/debt/relinker.md; 19 of them are yabanana's stacked AOT PRs, which already conflict with main in other files, and this branch adds no conflict to them. Only #5994 (Get-fix) gets a new conflict, in the one debt line both rewrite.
    • #5994 has since merged, so this branch now merges main f03a2da5e (81561867f), resolving that hunk as planned. #5994's sce_module syscall-scan line now says the scan stops "at the same end, or, when the PLT comes before the code, at the end of the last function of the unwind table", because its scan calls FindSceCodeEnd. The collector line keeps #5994's /libexec/ld-elf.so.1 start with this PR's end.
    • On the merge, the relinker-only suite passes 199/199 (Ubuntu 24.04, GCC 13.3, Release), including #5994's sce_module_code_extent and this PR's sce_code_extent.
  • tools/check_conventions.py from main passes with this title and body.

@SuperCatElvis, thanks for the answers on #3093. If you can, could you swap this in for your stop-9 change and check that both modules get past stops 9 and 10?

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: CUSA01664 #6978 (Limbo: Get-fix's bring-up lists this PR in step 1, converting the bundled libc.prx and libSceFios2.prx); CUSA03312 #7198 (Hasbro Family Fun Pack: stop 8 in savvaniss's conversion); CUSA02636 (no Game bring-up discussion): stops 9 and 10 of SuperCatElvis's conversion on #3093, in the bundled libSceFios2.prx and libc.prx. They were reached after #5138 and scratch fixes for the other stops from 1 to 8; stop 1, the eboot's jump tables, still stops the title on main, and stop 11 (#6357) follows. Not rerun here.
  • GPUs tested: n/a (relinker); full ctest on NVIDIA GeForce RTX 3050 Ti Laptop GPU, driver 580.178.04, Ubuntu 24.04
  • AI-assisted: yes (Claude Code); I reviewed and tested every line

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4873599610 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6354). Originally posted by [SandstromPL](https://github.com/SandstromPL) on 2026-10-15T12:55:42Z. --- ### What Until Dawn (CUSA02636) bundles `libSceFios2.prx` and `libc.prx` (01.00). Their conversion stops in the code analysis, for `libSceFios2.prx` with: ``` PLT not found after the last unwind function (offset 0x3d033) ``` SuperCatElvis [reported it on #3093](https://github.com/boykopovar/AnyPS5/issues/3093#issuecomment-6190626823) as stop 9 of the title's conversion, on `main` d92a8da. They reached it after #5138 and scratch fixes for the other stops before it. Both modules have their PLT at 0xc8, at the start of the text segment, before the code. In `libSceFios2.prx` the last unwind function ends at 0x3d033, and what follows is the module's `DT_FINI` routine at 0x3d040, 0x7d bytes without an unwind entry, then read-only data that includes the zlib CRC-32 table. `libc.prx` [has the same layout](https://github.com/boykopovar/AnyPS5/issues/3093#issuecomment-6202309687): its `DT_FINI` routine at 0x828a0 follows its last unwind function [0x82890, 0x82896), and about 213 KiB of read-only data follow the routine. #3142 (Get-fix's commit, carried by MarcZX100) stopped the pipeline's syscall and call-site scans of executables at the end of the PLT that follows the last unwind function, so that the read-only data after the code is not decoded as code. My #5195 moved that search into `FindSceCodeEnd` and applied the same end to the code analysis of the Windows and macOS outputs, for executables and guest modules. The search only looks after the last unwind function, so these two modules fail there. When no PLT follows the last unwind function, `FindSceCodeEnd` now also looks before it: - It looks for the same PLT0 (`push [GOT+8]; jmp [GOT+16]`) anywhere from the start of the segment up to the end of the last unwind function. - That PLT (PLT0 plus 16 bytes per `DT_SCE_PLTRELSZ` entry) must not overlap an unwind function. Otherwise the conversion fails with `PLT overlaps an unwind function`. - The extent then ends at the end of the last unwind function, so the data after it stays out. Without that, stop 10 follows: `overlapping instruction boundaries (offset 0x3d1fe)` inside the CRC-32 table. - A PLT found in neither place fails with `PLT not found before or after the unwind functions`. A PLT after the code, as in the executables converted so far, is found first, with the same result as before. That includes #5195's case of code without unwind entries between the last function and the PLT. When the PLT comes first, there is no PLT after the code to bound the extent. The end of the last unwind function is then the only bound that doesn't guess the length of code without an unwind entry. #3093 ruled this bound out for the PLT-after layout because code without unwind entries can sit before the PLT, and that layout is unchanged. The cost: when the PLT comes before the code, code after the last unwind function that has no unwind entry is not analysed, and nothing reports it. An entry point, a branch target or an `fs:` access found there is dropped without an error; the debt entry records this. - In both modules this is the `DT_FINI` routine, which the Windows and macOS outputs call when the program exits (`WindowsGuestStartup::Finalize`, and the fini stub that `MacOsImage.cpp` registers with `__cxa_atexit`). The code analysis starts from `DT_FINI` only inside the extent, so both routines are dropped, and an `fs:` access in one would run unchanged on the host. - For these two modules this should lose nothing. SuperCatElvis reports that the `libSceFios2.prx` routine makes no `fs:` access, and that the `libc.prx` one reads the pointer at 0xbc880 and calls 0x2fa50 through it; I've asked whether that one has an `fs:` access. The code analysis rewrites no indirect call: the relocation sets the pointer, and 0x2fa50 is already a root as a function symbol (symbol 1411 in SuperCatElvis's table), and with #6357 also as a relocation target. - With the same trimming, their run got past stops 9 and 10. Their full conversion then completed only after one more scratch change, for stop 11: `libc.prx`'s RELATIVE relocation with a symbol, which MarcZX100's #6357 handles. - Both PLTs end before the first unwind function, so the overlap check passes: [0xc8, 0x5b8) before 0x5c0 in `libc.prx`, and [0xc8, 0x5d8) before 0x5e0 in `libSceFios2.prx`, each followed by 8 zero bytes. ### Tested Ubuntu 24.04, GCC 13.3, Release with `BUILD_TESTING=ON`, on `main` 71bd2876e. Locally the libusb submodule isn't checked out, so I removed its two lines from `CMakeLists.txt`. `libSceUsbd` then fails to compile, and `ninja -k 0` built everything that does not depend on it. `sce_code_extent` (`relinker/tests/test_sce_code_extent.py`) can now put the PLT before the code: at 0x180, before the unwind function at 0x200, with the data right after the function. It can also add a second unwind function before the PLT, and put an unsupported TLS instruction in the function. As in #5195, the fixture is converted as the main executable (`--skip-sce-module`), so each case goes through both callers. No case converts an `sce_module` module. A module like `libSceFios2.prx` reaches the same `FindSceCodeEnd` only through the code analysis, which the Windows and macOS guest module writers run on the module's own bytes and program headers. | Case | Result | |---|---| | PLT before the code (Windows and macOS) | converts, with the import's call site in the PLT | | the same, with a `lea` in the function pointing into the data after it, at `fs`-prefixed overlapping bytes (the shape of stop 10) | converts; the bytes after the function are not analysed | | the same, with the ELF entry point right after the function, on an unsupported TLS instruction | converts; the entry point after the code is not analysed (the trade-off above) | | the same, with another unwind function before the PLT | converts | | the same, with an unsupported TLS instruction in the function after the PLT | throws `Unsupported ... guest TLS instruction`, so the function after the PLT is still analysed | | a PLT ending where the function begins, and a PLT starting where an earlier function ends | convert (touching is not overlapping) | | a PLT over the start of the function, and over its end | throws `PLT overlaps an unwind function` | | no PLT | throws `PLT not found before or after the unwind functions` (renamed) | On `main` all 15 cases fail with `PLT not found after the last unwind function`. With the change they pass, 5 runs out of 5. The test also fails if: - the overlap check is removed, or either of its comparisons is made inclusive; - the backward search stops 16 bytes before the end of the last function, which misses a PLT straddling it; - the extent runs to the end of the segment, so the data is scanned (`Cannot decode instruction`); - the extent ends at the PLT, so the function after it is cut off (`invalid function range`). The registry check in the test now compares call sites case-insensitively: the relinker writes `0x1F0`, and earlier PLT addresses happened to have no hex letters. Other checks: - Full `ctest` on the RTX 3050 Ti: 1,243 of 1,248 pass, and all relinker tests pass. - 12 tests skip themselves: `agc_driver_stencil_ref_export` on this GPU, and the VideoOut flip and frame-dump tests, which need a display. - `patched_libraries` and `guest_usbd` are Not Run, because the libusb submodule isn't checked out. - Three tests failed, in code this branch does not change: - `agc_pending_key_stores` fails on `main` since #6247, as reported there. - `agc_driver_store_over_untracked` fails 6 runs out of 10 when run alone here. - `guest_kernel_fcntl` aborted once under `ctest -j10`, and then passed 10 runs out of 10 when run alone. - **Not run on the game here**; we have no game files. The stop is SuperCatElvis's. - **Merges:** the branch merges cleanly with `main` 5d9dcc42d. 28 open PRs touch these files, all through `docs/dev/debt/relinker.md`; 19 of them are yabanana's stacked AOT PRs, which already conflict with `main` in other files, and this branch adds no conflict to them. Only #5994 (Get-fix) gets a new conflict, in the one debt line both rewrite. - #5994 has since merged, so this branch now merges `main` f03a2da5e (81561867f), resolving that hunk as planned. #5994's `sce_module` syscall-scan line now says the scan stops "at the same end, or, when the PLT comes before the code, at the end of the last function of the unwind table", because its scan calls `FindSceCodeEnd`. The collector line keeps #5994's `/libexec/ld-elf.so.1` start with this PR's end. - On the merge, the relinker-only suite passes 199/199 (Ubuntu 24.04, GCC 13.3, Release), including #5994's `sce_module_code_extent` and this PR's `sce_code_extent`. - `tools/check_conventions.py` from `main` passes with this title and body. @SuperCatElvis, thanks for the answers on #3093. If you can, could you swap this in for your stop-9 change and check that both modules get past stops 9 and 10? ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: CUSA01664 #6978 (Limbo: Get-fix's bring-up lists this PR in step 1, converting the bundled `libc.prx` and `libSceFios2.prx`); CUSA03312 #7198 (Hasbro Family Fun Pack: stop 8 in [savvaniss's conversion](https://github.com/boykopovar/AnyPS5/issues/3093#issuecomment-6235820957)); CUSA02636 (no Game bring-up discussion): stops 9 and 10 of SuperCatElvis's conversion on #3093, in the bundled `libSceFios2.prx` and `libc.prx`. They were reached after #5138 and scratch fixes for the other stops from 1 to 8; stop 1, the eboot's jump tables, still stops the title on `main`, and stop 11 (#6357) follows. Not rerun here. - [x] GPUs tested: n/a (relinker); full `ctest` on NVIDIA GeForce RTX 3050 Ti Laptop GPU, driver 580.178.04, Ubuntu 24.04 - [x] AI-assisted: yes (Claude Code); I reviewed and tested every line 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-15 13:01:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T13:01:28Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 7660 docs/dev/debt/relinker.md L19-20

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 docs/dev/debt/relinker.md
PR 6977 core/relinker/relinker/src/analysis/SceCodeExtent.cpp
core/relinker/relinker/tests/test_sce_code_extent.py
docs/dev/debt/relinker.md
PR 7173 docs/dev/debt/relinker.md
PR 7332 docs/dev/debt/relinker.md
PR 7531 docs/dev/debt/relinker.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6192675362 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6354#issuecomment-6192675362). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T13:01:28Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 7660](https://www.github.com/boykopovar/AnyPS5/pull/7660) | `docs/dev/debt/relinker.md` [L19-20](https://github.com/boykopovar/AnyPS5/blob/64b57d1b025fef1a6e43c753c06792f3377aa2be/docs/dev/debt/relinker.md#L19-L20) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/relinker.md` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/relinker/relinker/src/analysis/SceCodeExtent.cpp`<br>`core/relinker/relinker/tests/test_sce_code_extent.py`<br>`docs/dev/debt/relinker.md` | | [PR 7173](https://www.github.com/boykopovar/AnyPS5/pull/7173) | `docs/dev/debt/relinker.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `docs/dev/debt/relinker.md` | | [PR 7531](https://www.github.com/boykopovar/AnyPS5/pull/7531) | `docs/dev/debt/relinker.md` |
DProkos commented 2026-10-18 19:44:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by DProkos on 2026-10-18T19:44:01Z.


Windows check of 81561867f merged onto current main (48d61f53b, clean merge).

Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7 UCRT, Ninja, Release, ANYPS5_RELINKER_ONLY=ON, BUILD_TESTING=ON, Python 3.11.0.

  • sce_code_extent: passed.
  • Full relinker suite: 196/196 passed.

Negative control: with SceCodeExtent.cpp restored to main and the updated test kept, sce_code_extent fails on sce-plt-missing (Windows output). main still reports the old message, PLT not found after the last unwind function (offset 0x210), where the test expects PLT not found before or after the unwind functions.

Not run: titles or homebrew.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6254315921 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6354#issuecomment-6254315921). Originally posted by [DProkos](https://github.com/DProkos) on 2026-10-18T19:44:01Z. --- Windows check of 81561867f merged onto current `main` (`48d61f53b`, clean merge). Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7 UCRT, Ninja, Release, `ANYPS5_RELINKER_ONLY=ON`, `BUILD_TESTING=ON`, Python 3.11.0. - `sce_code_extent`: passed. - Full relinker suite: 196/196 passed. **Negative control:** with `SceCodeExtent.cpp` restored to `main` and the updated test kept, `sce_code_extent` fails on `sce-plt-missing` (Windows output). `main` still reports the old message, `PLT not found after the last unwind function (offset 0x210)`, where the test expects `PLT not found before or after the unwind functions`. Not run: titles or homebrew. AI-assisted: yes
savvaniss commented 2026-10-18 20:59:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-18T20:59:47Z.


Second-title data point: Hasbro Family Fun Pack (CUSA03312, my own dump) needs this PR, on Linux and Windows.

Relinker-only Release build, Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7. Starting from main f3059421f, I merged, in this order: #7660, #6619 (a9fa0e8b0), #5138 (5f5641732), #6381 (6f8d9a09d), 3b158c1e4 from #6977, #6354 (81561867f), #6357 (32fe3aa8b), #6684 (ab9d21afc) and #6618 (bf06a8e5c). With that stack, the Linux and --windows conversions of the eboot and its 9 bundled modules complete. I then rebuilt the relinker once per member with only that member left out. Without this PR, both targets stop in libSceFace.prx:

FAIL: PLT not found after the last unwind function (offset 0x27e21)

The other members each stop at their own step, so every one of them is needed for this title; the whole table is on #6977.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6255079545 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6354#issuecomment-6255079545). Originally posted by [savvaniss](https://github.com/savvaniss) on 2026-10-18T20:59:47Z. --- Second-title data point: Hasbro Family Fun Pack (CUSA03312, my own dump) needs this PR, on Linux and Windows. Relinker-only Release build, Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7. Starting from `main` `f3059421f`, I merged, in this order: #7660, #6619 (`a9fa0e8b0`), #5138 (`5f5641732`), #6381 (`6f8d9a09d`), 3b158c1e4 from #6977, #6354 (`81561867f`), #6357 (`32fe3aa8b`), #6684 (`ab9d21afc`) and #6618 (`bf06a8e5c`). With that stack, the Linux and `--windows` conversions of the eboot and its 9 bundled modules complete. I then rebuilt the relinker once per member with only that member left out. Without this PR, both targets stop in `libSceFace.prx`: ``` FAIL: PLT not found after the last unwind function (offset 0x27e21) ``` The other members each stop at their own step, so every one of them is needed for this title; the whole table is on #6977. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6354
No description provided.