This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][ELF/AARCH64] Implement R_AARCH64_JUMP26
ClosedPublic

Authored by sunho on Jun 4 2022, 5:37 PM.

Details

Summary

This patch implemetns R_AARCH64_JUMP26. We can use the same generic aarch64 Branch26 edge since B instruction and BL nstruction have the same sized&offseted immediate field and the relocation address calculation is the same.

Reference: ELF for the ARM ® 64-bit Architecture Tabel 4-10, ARM Architecture Reference Manual ® ARMv8, for ARMv8-A architecture profile C6.2.24, C6.2.31

Diff Detail

Event Timeline

sunho created this revision.Jun 4 2022, 5:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2022, 5:37 PM
sunho requested review of this revision.Jun 4 2022, 5:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2022, 5:37 PM
This revision is now accepted and ready to land.Jun 7 2022, 5:07 AM
This revision was landed with ongoing or failed builds.Jun 9 2022, 7:37 PM
This revision was automatically updated to reflect the committed changes.