summaryrefslogtreecommitdiff
path: root/libbb/hash_md5_sha_x86-64.S
diff options
context:
space:
mode:
authorLudwig Nussel2022-08-25 12:48:07 +0200
committerDenys Vlasenko2022-08-30 17:21:53 +0200
commit526625bc83e63e6e5a3ec5296a1b868e72b3b01e (patch)
tree901528ccb11153fd00c888ad817386a885f72aa2 /libbb/hash_md5_sha_x86-64.S
parentdd79e1d4d3b9725e927d1c26e0d3fdb49e29ba9c (diff)
downloadbusybox-526625bc83e63e6e5a3ec5296a1b868e72b3b01e.zip
busybox-526625bc83e63e6e5a3ec5296a1b868e72b3b01e.tar.gz
libbb: mark stack in assembly files read-only
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/hash_md5_sha_x86-64.S')
-rw-r--r--libbb/hash_md5_sha_x86-64.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/hash_md5_sha_x86-64.S b/libbb/hash_md5_sha_x86-64.S
index 1d55b91..2cdd220 100644
--- a/libbb/hash_md5_sha_x86-64.S
+++ b/libbb/hash_md5_sha_x86-64.S
@@ -1,6 +1,9 @@
### Generated by hash_md5_sha_x86-64.S.sh ###
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
+#ifdef __linux__
+ .section .note.GNU-stack, "", @progbits
+#endif
.section .text.sha1_process_block64, "ax", @progbits
.globl sha1_process_block64
.hidden sha1_process_block64