From: Loren Merritt Date: Mon, 2 Jun 2008 15:40:49 +0000 (-0600) Subject: nasm compatible NX stack X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=601b46ebb444c5e5e27fe7684e7507417a623747;p=x264.git 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