[lld] [lld][AArch64][ELF][PAC] Support AUTH relocations and AUTH ELF marking (PR #72714)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 17 23:41:49 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
----------------
MaskRay wrote:
Since the ABI has been updated to say that the GNU program property scheme is preferred and I don't think compatibility with .note.AARCH64-PAUTH-ABI-tag is needed, we can just drop support for .note.AARCH64-PAUTH-ABI-tag
https://github.com/llvm/llvm-project/pull/72714
More information about the llvm-commits
mailing list