From 794a54d4a603639adf1a79d5b5bc15da437457e2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 5 Jun 2016 14:57:00 -0700 Subject: [PATCH] Mark win64.S with GNU-stack note --- src/x86/win64.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x86/win64.S b/src/x86/win64.S index d11051d1..f8cbf9f8 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