[all-commits] [llvm/llvm-project] 93236c: [JITLink] Support AArch64 big-endian (BE8) ELF obj...

dong jianqiang via All-commits all-commits at lists.llvm.org
Wed Sep 23 07:59:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93236c1e0296ff92f04b38d37ae927673be9f536
      https://github.com/llvm/llvm-project/commit/93236c1e0296ff92f04b38d37ae927673be9f536
  Author: dong jianqiang <dongjianqiang2 at huawei.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h
    M llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
    M llvm/lib/ExecutionEngine/JITLink/ELF.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
    M llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
    A llvm/test/ExecutionEngine/JITLink/AArch64/ELF_ehframe_be.s
    A llvm/test/ExecutionEngine/JITLink/AArch64/ELF_relocations_be.s

  Log Message:
  -----------
  [JITLink] Support AArch64 big-endian (BE8) ELF objects (#225120)

The AArch64 ELF backend hard-coded ELF64LE, so aarch64_be 
objects failed to load. Follow the PPC64 multi-endian pattern: 
the graph builder, aarch64::applyFixup, ELFJITLinker_aarch64, 
and the link entry points (link_ELF_aarch64 / link_ELF_aarch64_be) 
are templated on llvm::endianness, with data fixups written in the 
compile-time target endianness and instructions always little-endian 
(the A64 ISA is word-invariant).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list