Repository navigation
feat(native): resolve RISC-V ELF initializer pointers - #12109
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
[Medium impact] The reviewed changes appear safe to merge; no blocking issue was found. SummaryAdds RV32/RV64 initializer pointer support through the shared ELF relocation reader.
Review was source-only; dependencies were not installed. Whether this PR has been replaced could not be checked because GitHub authentication was unavailable. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["ELF machine and word size"] --> B["Shared relocation rules"]
B --> C["Dynamic relocation writes"]
B --> D["Section relocation writes"]
C --> E["Resolve initializer slots"]
D --> E
E --> F["Known target or explicit unknown"]
F --> G["Shared CLI and MCP report"]
Reviews (2) · Last reviewed commit: "feat(native): resolve RISC-V ELF initial..." · Reviewed by Greptile |
chacobsa
pushed a commit
to chacobsa/rea
that referenced
this pull request
Nov 19, 2026
Resolve the relocation-kind conflict with RISC-V support (morluto#12109): JUMP_SLOT now comes from the per-machine RELOCATION_KINDS table. RISC-V JUMP_SLOT stays an unknown write under image-definitions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
15 of 22 tasks
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.
Summary
Replaces #12068 against main 2182996.
Preserve RV32/RV64 support, TLS filtering and main's extended symbol section handling. Address the earlier P2 by selecting the named native initializer contract from the binary diagnostics family.
Validation
Author readiness
Human owner: @ShuaixinHuang