Commit 3723deea authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* common/i386/i386inc.asm: tell the ELF linker about our stack properties

    so that it does not assume the stack has to be executable.

git-svn-id: svn:// df754926-b1dd-0310-bc7b-ec298dee348c
parent 70c14034
......@@ -111,3 +111,10 @@ BITS 32
%assign FDEC_STRIDE 32
; This is needed for ELF, otherwise the GNU linker assumes the stack is
; executable by default.
%ifidn __OUTPUT_FORMAT__,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