=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: libwine: Always use Thumb instructions on ARM.
Alexandre Julliard
julliard at winehq.org
Mon Apr 30 14:13:08 CDT 2012
Module: wine
Branch: master
Commit: f93d3ad2f557df43af165468a0910c9d9a3015e0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f93d3ad2f557df43af165468a0910c9d9a3015e0
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Apr 29 21:43:51 2012 +0200
libwine: Always use Thumb instructions on ARM.
---
libs/wine/port.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/libs/wine/port.c b/libs/wine/port.c
index da74e85..8e8caf8 100644
--- a/libs/wine/port.c
+++ b/libs/wine/port.c
@@ -153,12 +153,7 @@ __ASM_GLOBAL_FUNC( wine_call_on_stack,
"mov sp, r2\n\t" /* stack */
"mov r2, r0\n\t" /* func -> scratch register */
"mov r0, r1\n\t" /* arg */
-#if defined(__thumb__)
"blx r2\n\t" /* call func */
-#else
- "mov LR, PC\n\t" /* return after branch */
- "mov PC, r2\n\t" /* call func */
-#endif
"mov sp, r4\n\t" /* restore old sp from local var */
"pop {r4,PC}") /* fetch return address into pc */
#elif defined(__sparc__) && defined(__GNUC__)
More information about the wine-cvs
mailing list