From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/2] images: sha_sum: mark as not needing executable stack
Date: Fri, 17 May 2024 09:47:53 +0200 [thread overview]
Message-ID: <20240517074754.767031-1-a.fatoum@pengutronix.de> (raw)
The hash section contains only data, so add a note that an executable
stack is not needed. This will suppress a warning when we start using
this on sandbox.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
images/sha_sum.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/images/sha_sum.S b/images/sha_sum.S
index 5928c206a877..d62af87f6695 100644
--- a/images/sha_sum.S
+++ b/images/sha_sum.S
@@ -1,4 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
+
+ .section .note.GNU-stack,"",%progbits
.section .shasum,"a"
.globl sha_sum
sha_sum:
--
2.39.2
next reply other threads:[~2024-05-17 7:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 7:47 Ahmad Fatoum [this message]
2024-05-17 7:47 ` [PATCH 2/2] x86: lib: setjmp: " Ahmad Fatoum
2024-05-21 6:35 ` [PATCH 1/2] images: sha_sum: " Sascha Hauer
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=20240517074754.767031-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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