projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90009ae
)
Add non-executing stack when compiling AES asm for GNU/ELF.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 25 May 2008 09:24:41 +0000
(12:24 +0300)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 25 May 2008 09:24:41 +0000
(12:24 +0300)
Patch by Kp <kp@valhallalegends.com>
Signed-off-by: Pekka Riikonen <priikone@silcnet.org>
lib/silccrypt/aes_x86.asm
patch
|
blob
|
history
diff --git
a/lib/silccrypt/aes_x86.asm
b/lib/silccrypt/aes_x86.asm
index cb426a12e8cab2abb512606d33b7ded928512cae..2742c1cd68e7357a8c7f3358ce82708653339e7c 100644
(file)
--- 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