projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add non-executing stack when compiling AES asm for GNU/ELF.
[silc.git]
/
lib
/
silccrypt
/
aes_x86.asm
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