Skip to content
Snippets Groups Projects
Commit ef1f9e80 authored by W. Felix Handte's avatar W. Felix Handte
Browse files

Restrict `GNU-stack` Note to GNU Assemblers

parent b12edddb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment