[PR #2247] [MERGED] linker: handle relocation for exported modules #2593

Closed
opened 2026-02-27 22:00:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2247
Author: @panzone91
Created: 1/26/2025
Status: Merged
Merged: 1/27/2025
Merged by: @georgemoralis

Base: mainHead: reload_modules


📝 Commits (1)

  • 9e881f0 linker: handle relocation for exported modules

📊 Changes

1 file changed (+7 additions, -4 deletions)

View changed files

📝 src/core/linker.h (+7 -4)

📄 Description

In some games the module filename and module exported name are not the same. This PR changes how we decide if there is the need for a symbol relocation based on the export module info.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2247 **Author:** [@panzone91](https://github.com/panzone91) **Created:** 1/26/2025 **Status:** ✅ Merged **Merged:** 1/27/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `reload_modules` --- ### 📝 Commits (1) - [`9e881f0`](https://github.com/shadps4-emu/shadPS4/commit/9e881f0aed8cd4f5d3ed50b8ccca8dbcfaf864e1) linker: handle relocation for exported modules ### 📊 Changes **1 file changed** (+7 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/core/linker.h` (+7 -4) </details> ### 📄 Description In some games the module filename and module exported name are not the same. This PR changes how we decide if there is the need for a symbol relocation based on the export module info. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:31 +03:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2593
No description provided.