[lld] [llvm] [lld][AArch64][ELF][PAC] Support AUTH relocations and AUTH ELF marking (PR #72714)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 08:03:58 PDT 2024


================
@@ -2956,9 +2998,12 @@ void LinkerDriver::link(opt::InputArgList &args) {
   // partition.
   mainPart = &partitions[0];
 
-  // Read .note.gnu.property sections from input object files which
-  // contain a hint to tweak linker's and loader's behaviors.
-  config->andFeatures = getAndFeatures();
+  // Read:
+  // - .note.gnu.property sections from input object files which
+  //   contain a hint to tweak linker's and loader's behaviors;
+  // - .note.AARCH64-PAUTH-ABI-tag sections contents from input object files
----------------
kovdan01 wrote:

Dropped support for the alternative and implemented support for GNU property. See 978ed06259a3b6ea035dde2c07581f62c45cfd4a

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


More information about the llvm-commits mailing list