Commit ae82d242 authored by Loren Merritt's avatar Loren Merritt
Browse files

yasm noexec stack

git-svn-id: svn:// df754926-b1dd-0310-bc7b-ec298dee348c
parent 283d57ed
......@@ -274,3 +274,9 @@ SECTION .text
%assign FENC_STRIDE 16
%assign FDEC_STRIDE 32
; This is needed for ELF, otherwise the GNU linker assumes the stack is
; executable by default.
%ifidn __YASM_OBJFMT__,elf
section ".note.GNU-stack" noalloc noexec nowrite progbits
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment