]> granicus.if.org Git - libx264/commitdiff
nasm compatible NX stack
authorLoren Merritt <pengvado@akuvian.org>
Mon, 2 Jun 2008 15:40:49 +0000 (09:40 -0600)
committerLoren Merritt <pengvado@akuvian.org>
Tue, 3 Jun 2008 22:46:40 +0000 (16:46 -0600)
common/x86/x86inc.asm

index d33f6f63b40c20dcc29c0abd7c15053f7e19daa8..e4470936d9d3d1f46a7b55f4ceb568db37fe51f5 100644 (file)
@@ -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