public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix executable stack warning from linker
@ 2022-09-07 19:57 Martin Liška
  2022-09-08 14:15 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2022-09-07 19:57 UTC (permalink / raw)
  To: dwz

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-08 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07 19:57 [PATCH] Fix executable stack warning from linker Martin Liška
2022-09-08 14:15 ` Mark Wielaard

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).