Commit c0829e62841100c308cc37ddd6537ca69e856de7

Richard Henderson 2016-06-05T15:05:21

Merge pull request #259 from rth7680/master 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