From c52e4b65514b5722e40875dad88d8db80bae0229 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 4 Apr 2016 15:41:51 +0900 Subject: [PATCH] winebuild: Mark the stack non-executable in static import libraries. Signed-off-by: Alexandre Julliard --- tools/winebuild/import.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index 4fbcab078fe..e7bad72c37b 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -1454,6 +1454,7 @@ static void build_unix_import_lib( DLLSPEC *spec ) output( "\t%s %s%s$%u$%s\n", get_asm_ptr_keyword(), asm_name( prefix ), dll_name, odp->ordinal, name ); output_function_size( name ); + output_gnu_stack_note(); break; default: