Merge pull request #259 from rth7680/master Mark win64.S with GNU-stack note
diff --git a/src/x86/win64.S b/src/x86/win64.S
index d11051d..f8cbf9f 100644
--- a/src/x86/win64.S
+++ b/src/x86/win64.S
@@ -226,3 +226,7 @@ C(ffi_closure_win64):
cfi_endproc
SEH(.seh_endproc)
+
+#if defined __ELF__ && defined __linux__
+ .section .note.GNU-stack,"",@progbits
+#endif