output instruction to mark the stack as non-executable
authorMichael Gilbert <mgilbert@debian.org>
Wed, 12 Oct 2022 00:18:28 +0000 (01:18 +0100)
committerMichael Gilbert <mgilbert@debian.org>
Wed, 12 Oct 2022 00:18:28 +0000 (01:18 +0100)
Gbp-Pq: Topic warnings
Gbp-Pq: Name execstack.patch

tools/winebuild/import.c

index c876d51f8e6f1a0e3dea47695c371ef008abb10b..d9580ff0e8790f39c884f937d9d896492d0673a1 100644 (file)
@@ -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" );