From ba1fbb688edf7db0edf3ea9d24a95d5a5ef2260c Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 13 Jun 2017 01:23:54 +0200 Subject: Linux: fix executable stack in resulting binary which was caused by crypto assembly files missing the GNU-stack note. --- src/Crypto/Twofish_x64.S | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Crypto/Twofish_x64.S') diff --git a/src/Crypto/Twofish_x64.S b/src/Crypto/Twofish_x64.S index 1e271691..c3483e33 100644 --- a/src/Crypto/Twofish_x64.S +++ b/src/Crypto/Twofish_x64.S @@ -312,3 +312,8 @@ movq %r8, %rdx; .endif ret; +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif + + -- cgit v1.2.3