[binutils-gdb] ld/testsuite: add gnu property section in nto-stack-note*
Clement Chigot
helflym@sourceware.org
Mon Mar 17 08:59:49 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e32bff33bceda7860dd35d1bf98a2b604240a536
commit e32bff33bceda7860dd35d1bf98a2b604240a536
Author: Clément Chigot <chigot@adacore.com>
Date: Mon Mar 10 16:56:02 2025 +0100
ld/testsuite: add gnu property section in nto-stack-note*
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.
Diff:
---
ld/testsuite/ld-aarch64/nto-stack-note-1.d | 5 +++++
ld/testsuite/ld-aarch64/nto-stack-note-2.d | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/ld/testsuite/ld-aarch64/nto-stack-note-1.d b/ld/testsuite/ld-aarch64/nto-stack-note-1.d
index d85dbcadb6b..e5f4742c533 100644
--- a/ld/testsuite/ld-aarch64/nto-stack-note-1.d
+++ b/ld/testsuite/ld-aarch64/nto-stack-note-1.d
@@ -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
diff --git a/ld/testsuite/ld-aarch64/nto-stack-note-2.d b/ld/testsuite/ld-aarch64/nto-stack-note-2.d
index 9e446ccea5c..4c5bc257993 100644
--- a/ld/testsuite/ld-aarch64/nto-stack-note-2.d
+++ b/ld/testsuite/ld-aarch64/nto-stack-note-2.d
@@ -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
More information about the Binutils-cvs
mailing list