From 34ed41bc6e09208a7df1e9afc31fb780d92ffd2d Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Wed, 12 Oct 2022 01:18:28 +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