[lld] [LLD][ELF][AArch64] Mark .plt and .iplt with PURECODE flag (PR #134798)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 09:43:00 PDT 2025
================
@@ -2610,6 +2610,11 @@ PltSection::PltSection(Ctx &ctx)
// modify the instructions in the PLT entries.
if (ctx.arg.emachine == EM_SPARCV9)
this->flags |= SHF_WRITE;
+
+ // On AArch64, PLT entries only do loads from the .got.plt section, so the
----------------
MaskRay wrote:
perhaps move before EM_PPC
https://github.com/llvm/llvm-project/pull/134798
More information about the llvm-commits
mailing list