Restrict GNU-stack
Note to GNU Assemblers
This commit is contained in:
parent
b12edddb37
commit
ef1f9e80ff
@ -3,7 +3,7 @@
|
||||
/* Stack marking
|
||||
* ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
|
||||
*/
|
||||
#if defined(__ELF__)
|
||||
#if defined(__ELF__) && defined(__GNUC__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user