mirror of
https://github.com/xmrig/xmrig.git
synced 2026-04-18 13:22:43 -04:00
Fix linker marking entire executable as executable stack
See: https://wiki.ubuntu.com/SecurityTeam/Roadmap/ExecutableStacks See: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
This commit is contained in:
@@ -1593,3 +1593,7 @@ FN_PREFIX(CryptonightR_instruction_mov254):
|
||||
FN_PREFIX(CryptonightR_instruction_mov255):
|
||||
|
||||
FN_PREFIX(CryptonightR_instruction_mov256):
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user