]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/testsuite: add gnu property section in nto-stack-note*
authorClément Chigot <chigot@adacore.com>
Mon, 10 Mar 2025 15:56:02 +0000 (16:56 +0100)
committerClément Chigot <chigot@adacore.com>
Mon, 17 Mar 2025 08:59:32 +0000 (09:59 +0100)
A GNU property section is now always generated when `-z stack-size` is
passed. This was probably introduced by GNU Property refactoring
within elfxx-aarch64.c.

ld/testsuite/ld-aarch64/nto-stack-note-1.d
ld/testsuite/ld-aarch64/nto-stack-note-2.d

index d85dbcadb6bdb05879256db48ea07870cea5ab07..e5f4742c5330c31f0dd208b8eeb13d1a032ccecf 100644 (file)
@@ -4,6 +4,11 @@
 #ld: -z stack-size=0x10000
 #readelf: -n
 
+Displaying notes found in: .note.gnu.property
+.*
+.*
+.*
+
 Displaying notes found in: .note
 [      ]+Owner[        ]+Data size[    ]+Description
   QNX                  0x0000000c      QNX stack
index 9e446ccea5cc1a499de9bd116480cea277f61cba..4c5bc25799356ee060acb7d8142eb8a04490e164 100644 (file)
@@ -4,6 +4,11 @@
 #ld: -z stack-size=0x10000 --lazy-stack -z execstack
 #readelf: -n
 
+Displaying notes found in: .note.gnu.property
+.*
+.*
+.*
+
 Displaying notes found in: .note
 [      ]+Owner[        ]+Data size[    ]+Description
   QNX                  0x0000000c      QNX stack