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>
This commit is contained in:
Ludwig Nussel
2022-08-25 12:48:07 +02:00
committed by Denys Vlasenko
parent dd79e1d4d3
commit 526625bc83
6 changed files with 18 additions and 0 deletions

View File

@@ -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