From b5053542a8e89beff4fb4ac13c8030f35c2fd79d Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 2 Jun 2008 09:40:49 -0600 Subject: [PATCH] nasm compatible NX stack --- common/x86/x86inc.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1