Mark win64.S with GNU-stack note
authorRichard Henderson <rth@twiddle.net>
Sun, 5 Jun 2016 21:57:00 +0000 (14:57 -0700)
committerRichard Henderson <rth@twiddle.net>
Sun, 5 Jun 2016 21:57:00 +0000 (14:57 -0700)
src/x86/win64.S

index d11051d..f8cbf9f 100644 (file)
@@ -226,3 +226,7 @@ C(ffi_closure_win64):
 
        cfi_endproc
        SEH(.seh_endproc)
+
+#if defined __ELF__ && defined __linux__
+       .section        .note.GNU-stack,"",@progbits
+#endif