[lld] [LLD][AArch64] Mark .plt with PURECODE flag if all input sections also have it (PR #132224)

Csanád Hajdú via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 07:26:50 PDT 2025


================
@@ -2610,6 +2610,18 @@ PltSection::PltSection(Ctx &ctx)
   // modify the instructions in the PLT entries.
   if (ctx.arg.emachine == EM_SPARCV9)
     this->flags |= SHF_WRITE;
+
----------------
Il-Capitano wrote:

I'll open a separate PR then with my proposed approach. Thank you for your insights!

https://github.com/llvm/llvm-project/pull/132224


More information about the llvm-commits mailing list