winebuild: Explicitly add _end on Sparc

André Hentschel nerv at dawncrow.de
Fri Jan 14 14:49:27 CST 2011


more to come, i need to clean up some things next week first
---
 tools/winebuild/spec32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index 29436f1..ecff402 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -559,6 +559,8 @@ void output_module( DLLSPEC *spec )
     output( "\t%s \"%s\"\n", get_asm_string_keyword(), spec->file_name );
     if (target_platform == PLATFORM_APPLE)
         output( "\t.lcomm %s,4\n", asm_name("_end") );
+    else if (target_cpu == CPU_SPARC)
+        output( "\t.data\n\t_end:\n" );
 
     output_asm_constructor( "__wine_spec_init_ctor" );
 }
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list