[all-commits] [llvm/llvm-project] 3d8061: [JITLink][ELF][AArch64] Implement R_AARCH64_MOVW_U...

Sunho Kim via All-commits all-commits at lists.llvm.org
Mon Jun 13 22:07:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d8061a3beff457851cd63323ae74bf6a7846032
      https://github.com/llvm/llvm-project/commit/3d8061a3beff457851cd63323ae74bf6a7846032
  Author: Sunho Kim <ksunhokim123 at naver.com>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
    M llvm/test/ExecutionEngine/JITLink/AArch64/ELF_aarch64_relocations.s

  Log Message:
  -----------
  [JITLink][ELF][AArch64] Implement R_AARCH64_MOVW_UABS_G*_NC.

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.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D127585




More information about the All-commits mailing list