mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05: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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user