From: Pekka Riikonen Date: Mon, 9 Jun 2008 05:18:33 +0000 (+0300) Subject: Add non-executing stack when compiling AES asm for GNU/ELF. X-Git-Tag: silc.server.1.1.9~1 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=9d4cd9d224dfd74d0d4059350cb511dc760d70f0 Add non-executing stack when compiling AES asm for GNU/ELF. Patch by Kp bg Signed-off-by: Pekka Riikonen --- diff --git a/lib/silccrypt/aes_x86_64.asm b/lib/silccrypt/aes_x86_64.asm index 1ac3c92b..d6ac1eb3 100644 --- a/lib/silccrypt/aes_x86_64.asm +++ b/lib/silccrypt/aes_x86_64.asm @@ -864,3 +864,7 @@ aes_decrypt: %endif end + +%ifidn __OUTPUT_FORMAT__,elf +section .note.GNU-stack noalloc noexec nowrite progbits +%endif