From: "Martin Liška" <mliska@suse.cz>
To: dwz@sourceware.org
Subject: [PATCH] Fix executable stack warning from linker
Date: Wed, 7 Sep 2022 21:57:26 +0200 [thread overview]
Message-ID: <3456793b-7b76-6825-0d14-0b4cfee42535@suse.cz> (raw)
Fixes:
missing .note.GNU-stack section implies executable stack
---
testsuite/dwz.tests/dw2-skip-prologue.S | 1 +
testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S | 1 +
testsuite/dwz.tests/varval.S | 1 +
3 files changed, 3 insertions(+)
diff --git a/testsuite/dwz.tests/dw2-skip-prologue.S b/testsuite/dwz.tests/dw2-skip-prologue.S
index f249ac0..4d2e198 100644
--- a/testsuite/dwz.tests/dw2-skip-prologue.S
+++ b/testsuite/dwz.tests/dw2-skip-prologue.S
@@ -400,3 +400,4 @@ loclist:
.byte 1
.Lline1_end:
+ .section .note.GNU-stack,"",@progbits
diff --git a/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S b/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S
index 7c41f5b..08e1563 100644
--- a/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S
+++ b/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S
@@ -154,3 +154,4 @@
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+ .section .note.GNU-stack,"",@progbits
diff --git a/testsuite/dwz.tests/varval.S b/testsuite/dwz.tests/varval.S
index 126768c..09f65d9 100644
--- a/testsuite/dwz.tests/varval.S
+++ b/testsuite/dwz.tests/varval.S
@@ -512,3 +512,4 @@
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+ .section .note.GNU-stack,"",@progbits
--
2.37.3
next reply other threads:[~2022-09-07 19:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-07 19:57 Martin Liška [this message]
2022-09-08 14:15 ` Mark Wielaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3456793b-7b76-6825-0d14-0b4cfee42535@suse.cz \
--to=mliska@suse.cz \
--cc=dwz@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).