[2/5] winebuild: Define _end on Sparc
André Hentschel
nerv at dawncrow.de
Tue Nov 29 18:09:54 CST 2011
---
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 1e5c694..3dd99ab 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -576,6 +576,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