[all-commits] [llvm/llvm-project] f8f01b: [LLD][COFF] Support marking sections as x86_64 cod...

Jacek Caban via All-commits all-commits at lists.llvm.org
Fri Apr 11 07:15:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8f01b5eeb61999e6bb9e8c52435f8ff08d410e7
      https://github.com/llvm/llvm-project/commit/f8f01b5eeb61999e6bb9e8c52435f8ff08d410e7
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M lld/COFF/Chunks.cpp
    M lld/COFF/Chunks.h
    A lld/test/COFF/arm64ec-x86-sec.yaml

  Log Message:
  -----------
  [LLD][COFF] Support marking sections as x86_64 code in ARM64EC object files (#135280)

On ARM64EC, the `IMAGE_SCN_GPREL` flag is repurposed to indicate that
section code is x86_64. This enables embedding x86_64 code within
ARM64EC object files. MSVC uses this for export thunks in .exp files.



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