From 6f9157ad377e8ff61a0f96f0e7b47babbc2b014e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 26 Aug 2025 10:42:31 +0200 Subject: ld/ELF: explicitly place .note.gnu.property x86 gas may produce .note.gnu.property by default. Hence the default linker script would better also deal with that section, rather than causing diagnostics when using --orphan-handling=. Replace all mis- spellings that have accumulated. To avoid needlessly relaxing expectations for two tests when run for PPC 64-bit ELF targets, suppress the linker generating EH frame data there. --- ld/scripttempl/elf.sc | 2 +- ld/testsuite/ld-aarch64/protections/bti-far.ld | 2 +- ld/testsuite/ld-aarch64/protections/bti-plt.ld | 2 +- ld/testsuite/ld-elf/elf.exp | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index be8d19f..6d34912 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -734,7 +734,7 @@ cat <