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:
parent
76fdc4fc4b
commit
df973763bb
4 changed files with 16 additions and 0 deletions
|
@ -206,3 +206,7 @@ DECL(randomx_reciprocal_fast):
|
|||
mov rcx, rdi
|
||||
#endif
|
||||
#include "asm/randomx_reciprocal.inc"
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue