From: Pekka Riikonen Date: Sun, 25 May 2008 09:24:41 +0000 (+0300) Subject: Add non-executing stack when compiling AES asm for GNU/ELF. X-Git-Tag: 1.2.beta4~12^2~6 X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=commitdiff_plain;h=8aa96201d790de6a23905c5f0c87c950b582b8af Add non-executing stack when compiling AES asm for GNU/ELF. Patch by Kp Signed-off-by: Pekka Riikonen --- diff --git a/lib/silccrypt/aes_x86.asm b/lib/silccrypt/aes_x86.asm index cb426a12..2742c1cd 100644 --- a/lib/silccrypt/aes_x86.asm +++ b/lib/silccrypt/aes_x86.asm @@ -595,3 +595,7 @@ stk_spc equ 20 ; stack space %endif end + +%ifidn __OUTPUT_FORMAT__,elf +section .note.GNU-stack noalloc noexec nowrite progbits +%endif