mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-18 16:55:55 +00:00
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:
parent
636b2e3cfa
commit
a28bddcbdf
1 changed files with 4 additions and 0 deletions
|
@ -51,3 +51,7 @@ KeccakF1600_AVX2_ASM:
|
|||
lea r10,[rip+rndc]
|
||||
|
||||
#include "sha3_256_keccakf1600_avx2.inc"
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue