Skip to content

[BOLT][RISCV] Handle static IFUNC calls through .iplt - #207733

Draft
Thrrreeee wants to merge 2 commits into
llvm:mainfrom
Thrrreeee:fix-tail
Draft

[BOLT][RISCV] Handle static IFUNC calls through .iplt#207733
Thrrreeee wants to merge 2 commits into
llvm:mainfrom
Thrrreeee:fix-tail

Conversation

@Thrrreeee

Copy link
Copy Markdown
Contributor

Teach BOLT to recognize RISC-V .iplt as a PLT-like section and make the RISC-V .plt entry size explicit. Static RISC-V binaries can use .iplt entries together with R_RISCV_IRELATIVE relocations for GNU IFUNC calls, while call sites reference the IFUNC symbol through R_RISCV_CALL_PLT.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

✅ With the latest revision this PR passed the C/C++ code formatter.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🐧 Linux x64 Test Results

  • 716 tests passed
  • 62 tests skipped

✅ The build succeeded and all tests passed.

@Thrrreeee
Thrrreeee force-pushed the fix-tail branch 3 times, most recently from 7f8b8ee to 359b95f Compare August 14, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant