forked from 0ad/0ad
Disable executable stacks in .asm files
This was SVN commit r7408.
This commit is contained in:
parent
9ad4b210dc
commit
672b1221c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user