VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Twofish_x86.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/Twofish_x86.S')
-rw-r--r--src/Crypto/Twofish_x86.S14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/Crypto/Twofish_x86.S b/src/Crypto/Twofish_x86.S
index d4af8cea..46f0e986 100644
--- a/src/Crypto/Twofish_x86.S
+++ b/src/Crypto/Twofish_x86.S
@@ -1,11 +1,5 @@
- .ifndef WINABI
-%ifidn __OUTPUT_FORMAT__,elf
-section .note.GNU-stack noalloc noexec nowrite progbits
-%endif
-%ifidn __OUTPUT_FORMAT__,elf32
-section .note.GNU-stack noalloc noexec nowrite progbits
-%endif
-%ifidn __OUTPUT_FORMAT__,elf64
-section .note.GNU-stack noalloc noexec nowrite progbits
-%endif
+ .ifndef __YASM__
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
.endif \ No newline at end of file