From: Clément Chigot Date: Mon, 10 Mar 2025 15:56:02 +0000 (+0100) Subject: ld/testsuite: add gnu property section in nto-stack-note* X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e32bff33bceda7860dd35d1bf98a2b604240a536;p=thirdparty%2Fbinutils-gdb.git 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 --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