[lld] [LLD][ELF][AArch64] Mark .plt and .iplt with PURECODE flag (PR #134798)

Csanád Hajdú via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 09:54:38 PDT 2025


================
@@ -2658,6 +2663,11 @@ IpltSection::IpltSection(Ctx &ctx)
     name = ".glink";
     addralign = 4;
   }
+
+  // On AArch64, PLT entries only do loads from the .got.plt section, so the
----------------
Il-Capitano wrote:

Good point, done.

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


More information about the llvm-commits mailing list