[lld] [llvm] [LLD][ELF][AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (3/3) (PR #125689)
Csanád Hajdú via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 01:09:04 PST 2025
================
@@ -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)) &&
----------------
Il-Capitano wrote:
That looks good to me.
https://github.com/llvm/llvm-project/pull/125689
More information about the llvm-commits
mailing list