VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto')
-rw-r--r--src/Crypto/Twofish_x64.S3
-rw-r--r--src/Crypto/Twofish_x86.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Crypto/Twofish_x64.S b/src/Crypto/Twofish_x64.S
index c3483e33..e5fa5ea8 100644
--- a/src/Crypto/Twofish_x64.S
+++ b/src/Crypto/Twofish_x64.S
@@ -312,8 +312,9 @@ movq %r8, %rdx;
.endif
ret;
+ .ifndef WINABI
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
-
+ .endif
diff --git a/src/Crypto/Twofish_x86.S b/src/Crypto/Twofish_x86.S
index 4f654871..d4af8cea 100644
--- a/src/Crypto/Twofish_x86.S
+++ b/src/Crypto/Twofish_x86.S
@@ -1,3 +1,4 @@
+ .ifndef WINABI
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
@@ -7,4 +8,4 @@ section .note.GNU-stack noalloc noexec nowrite progbits
%ifidn __OUTPUT_FORMAT__,elf64
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
-
+ .endif \ No newline at end of file