Repository navigation
fix(relinker): preserve Linux executable exports and ELF section addresses - #2785
Merged
adriadam10 merged 2 commits intoOct 11, 2026
Merged
Conversation
|
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes. |
This was referenced Oct 10, 2026
Collaborator
|
Checked on Linux x86-64 (relinker scope, 95/95 ctest): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Split from #1616, following its review. Map section addresses through load segments; preserve defined executable exports,
DT_HASHandDT_DEBUGso Linux symbol lookup and debugging can find them. Includes an executable-export regression and malformed-symbol-table check. Two commits.Tested
Linux x86-64, GCC 16.2.1, Release.
linux_executable_exportspasses (generated Linux ELF loads and calls its exported symbol; malformed input is rejected). Relinker builds. Conventions and whitespace checks pass on current main (5edae353).Depends on
None for build. HFW integration also needs #2786 (loader), #2787 (filesystem), #2788 (http), #2789 (apr), #2790 (shader). #1269 (media), #1339 (VRR), #1586 (unwind) and #1436 (imports) are now on main. Local image-table experiments are excluded; open #757 → #758 overlaps them, and #920 is closed without merging. Earlier combined integration reached menu/loading UI; these isolated branches have not been game-tested and gameplay is unverified.
Checklist
main; no duplicate implementation found beyond superseded fix(linux): resolve loader and APR failures exposed by HFW #1616