Stop linker from making stack executable

Add .note.GNU-stack section to end of AstroBWT ASM.

Signed-off-by: Matt Smith <matt@offtopica.uk>
This commit is contained in:
Matt Smith 2020-06-07 13:41:39 +01:00
parent 636b2e3cfa
commit a28bddcbdf

View file

@ -51,3 +51,7 @@ KeccakF1600_AVX2_ASM:
lea r10,[rip+rndc] lea r10,[rip+rndc]
#include "sha3_256_keccakf1600_avx2.inc" #include "sha3_256_keccakf1600_avx2.inc"
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif