Commit 794a54d4a603639adf1a79d5b5bc15da437457e2

Richard Henderson 2016-06-05T14:57:00

Mark win64.S with GNU-stack note

1
2
3
4
5
6
7
8
9
10
11
12
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