[all-commits] [llvm/llvm-project] 6e457c: [LLD][ELF][AArch64] Add support for SHF_AARCH64_PU...

Csanád Hajdú via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:02:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e457c20016ae1ed7249dd28ce4b3c7993a91275
      https://github.com/llvm/llvm-project/commit/6e457c20016ae1ed7249dd28ce4b3c7993a91275
  Author: Csanád Hajdú <csanad.hajdu at arm.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M lld/ELF/OutputSections.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/ELF/Thunks.cpp
    A lld/test/ELF/aarch64-execute-only.s
    A lld/test/ELF/aarch64-thunk-bti-execute-only.s
    A lld/test/ELF/aarch64-thunk-execute-only.s
    M lld/test/ELF/input-section-flags.s

  Log Message:
  -----------
  [LLD][ELF][AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (3/3) (#125689)

Add support for the new SHF_AARCH64_PURECODE ELF section flag:
https://github.com/ARM-software/abi-aa/pull/304

The general implementation follows the existing one for ARM targets. The
output section only has the `SHF_AARCH64_PURECODE` flag set if all input
sections have it set.

Related PRs:
* LLVM: https://github.com/llvm/llvm-project/pull/125687
* Clang: https://github.com/llvm/llvm-project/pull/125688



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