Disable executable stacks in .asm files

This was SVN commit r7408.
This commit is contained in:
Ykkrosh 2010-03-28 18:20:46 +00:00
parent 9ad4b210dc
commit 672b1221c3

View File

@ -1,3 +1,10 @@
; disable executable stack
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifidn __OUTPUT_FORMAT__,elf64
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
; set section attributes
; section .data data align=32 use32