[lld] [llvm] [LLD][ELF][AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (3/3) (PR #125689)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 07:46:18 PST 2025
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/125689 at github.com>
================
@@ -42,7 +42,8 @@ using namespace lld::elf;
uint32_t OutputSection::getPhdrFlags() const {
uint32_t ret = 0;
- if (ctx.arg.emachine != EM_ARM || !(flags & SHF_ARM_PURECODE))
+ if ((ctx.arg.emachine != EM_ARM || !(flags & SHF_ARM_PURECODE)) &&
----------------
smithp35 wrote:
That's fine with me. I've added MaskRay (lld maintainer) to the review. If he has a strong opinion then we'll go with his preference.
https://github.com/llvm/llvm-project/pull/125689
More information about the llvm-commits
mailing list