diff options
author | Ludwig Nussel | 2022-08-25 12:48:07 +0200 |
---|---|---|
committer | Denys Vlasenko | 2022-08-30 17:21:53 +0200 |
commit | 526625bc83e63e6e5a3ec5296a1b868e72b3b01e (patch) | |
tree | 901528ccb11153fd00c888ad817386a885f72aa2 /libbb/hash_md5_sha_x86-64_shaNI.S | |
parent | dd79e1d4d3b9725e927d1c26e0d3fdb49e29ba9c (diff) | |
download | busybox-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_shaNI.S')
-rw-r--r-- | libbb/hash_md5_sha_x86-64_shaNI.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/hash_md5_sha_x86-64_shaNI.S b/libbb/hash_md5_sha_x86-64_shaNI.S index 794e970..2f03e1c 100644 --- a/libbb/hash_md5_sha_x86-64_shaNI.S +++ b/libbb/hash_md5_sha_x86-64_shaNI.S @@ -25,6 +25,9 @@ // We do not check SSSE3/SSE4.1 in cpuid, // all SHA-capable CPUs support them as well. +#ifdef __linux__ + .section .note.GNU-stack, "", @progbits +#endif .section .text.sha1_process_block64_shaNI, "ax", @progbits .globl sha1_process_block64_shaNI .hidden sha1_process_block64_shaNI |