projects
/
runtime.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.
[runtime.git]
/
lib
/
silccrypt
/
aes_x86_64.asm
diff --git
a/lib/silccrypt/aes_x86_64.asm
b/lib/silccrypt/aes_x86_64.asm
index 1ac3c92b12d8f1e82e7e6eb9e94de3e2aed990a5..d6ac1eb32b5d197a1c550cf25b1ffa003dee0a68 100644
(file)
--- a/
lib/silccrypt/aes_x86_64.asm
+++ b/
lib/silccrypt/aes_x86_64.asm
@@
-864,3
+864,7
@@
aes_decrypt:
%endif
\r
\r
end
\r
+
\r
+%ifidn __OUTPUT_FORMAT__,elf
\r
+section .note.GNU-stack noalloc noexec nowrite progbits
\r
+%endif
\r