=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winebuild: Expect a Thumb mode toolchain on ARM.
Alexandre Julliard
julliard at winehq.org
Mon Apr 30 14:13:08 CDT 2012
Module: wine
Branch: master
Commit: 833b655ae62ef7c6e2bd9b5713e0063a0000988b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=833b655ae62ef7c6e2bd9b5713e0063a0000988b
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Apr 29 21:43:14 2012 +0200
winebuild: Expect a Thumb mode toolchain on ARM.
---
tools/winebuild/spec32.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index 1e5c694..7743acc 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -415,6 +415,9 @@ static void output_asm_constructor( const char *constructor )
output( "\tnop\n" );
break;
case CPU_ARM:
+ output( "\tblx %s\n", asm_name(constructor) );
+ output( "\t.arm\n" );
+ break;
case CPU_POWERPC:
output( "\tbl %s\n", asm_name(constructor) );
break;
@@ -458,6 +461,10 @@ void output_module( DLLSPEC *spec )
output( "\tjmp 1f\n" );
break;
case CPU_ARM:
+ output( "\n\t.syntax unified\n" );
+ output( "\n\t.thumb\n" );
+ output( "\tb.w 1f\n" );
+ break;
case CPU_POWERPC:
output( "\tb 1f\n" );
break;
More information about the wine-cvs
mailing list