From: Michael Gilbert Date: Tue, 13 Sep 2022 00:46:21 +0000 (+0100) Subject: output instruction to mark the stack as non-executable X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2^2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=39b0e2c08c3ccb485152936ebfb60aaf095f0944;p=wine.git output instruction to mark the stack as non-executable Gbp-Pq: Topic warnings Gbp-Pq: Name execstack.patch --- 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" );