From: Loren Merritt Date: Mon, 2 Jun 2008 15:40:49 +0000 (-0600) Subject: nasm compatible NX stack X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5053542a8e89beff4fb4ac13c8030f35c2fd79d;p=libx264 nasm compatible NX stack --- diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm index d33f6f63..e4470936 100644 --- a/common/x86/x86inc.asm +++ b/common/x86/x86inc.asm @@ -284,7 +284,7 @@ DECLARE_REG 6, ebp, ebp, bp, null, [esp + stack_offset + 28] ; 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 +SECTION .note.GNU-stack noalloc noexec nowrite progbits %endif %assign FENC_STRIDE 16