[PATCH] D127585: [JITLink][ELF][AArch64] Implement R_AARCH64_MOVW_UABS_G*_NC.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 11 20:37:54 PDT 2022


sunho created this revision.
sunho added reviewers: lhames, sgraenitz.
Herald added subscribers: StephenFan, hiraditya, kristof.beyls.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Implements  R_AARCH64_MOVW_UABS_G*_NC fixup edges. These relocation entries can be generated when code is compiled without a PIC flag. With this patch, clang-repl can printf Hello World with ObjectLinkerLayer on aarch64 linux.


https://reviews.llvm.org/D127585

Files:
  llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
  llvm/test/ExecutionEngine/JITLink/AArch64/ELF_aarch64_relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127585.436188.patch
Type: text/x-patch
Size: 5460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220612/726f37cf/attachment.bin>


More information about the llvm-commits mailing list