Alexandre Julliard : winebuild: Add GNU stack note also to the undefined symbols file.

Alexandre Julliard julliard at winehq.org
Wed Jul 20 15:54:13 CDT 2022


Module: wine
Branch: master
Commit: 31d2a87ba078483be0f8c1c3549692d187d14d57
URL:    https://gitlab.winehq.org/wine/wine/-/commit/31d2a87ba078483be0f8c1c3549692d187d14d57

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jul 20 20:21:48 2022 +0200

winebuild: Add GNU stack note also to the undefined symbols file.

Recent ld complains about this.

---

 tools/winebuild/import.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index c876d51f8e6..b1c14db9cab 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -631,6 +631,8 @@ 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" );




More information about the wine-cvs mailing list