From f44f3de0065848e16b4b8eb5824f60b2396d3bf5 Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Sat, 24 Sep 2022 18:29:03 +0100 Subject: [PATCH] output instruction to mark the stack as non-executable Gbp-Pq: Topic warnings Gbp-Pq: Name execstack.patch --- tools/winebuild/import.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index c876d51..d9580ff 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -631,6 +631,7 @@ static char *create_undef_symbols_file( DLLSPEC *spec ) } for (j = 0; j < extra_ld_symbols.count; j++) output( "\t%s %s\n", get_asm_ptr_keyword(), asm_name(extra_ld_symbols.str[j]) ); + output_gnu_stack_note(); fclose( output_file ); obj_file = get_temp_file_name( output_file_name, ".o" ); -- 2.30.2