From ac90c1bd1878599710605fa5b4e2fe8ce224b280 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Hentschel?= Date: Fri, 17 Jun 2011 16:53:12 +0200 Subject: [PATCH] winebuild: Simplify the ARM part of output_import_thunk. --- tools/winebuild/import.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index b0901a636d1..00c030b3377 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -672,9 +672,8 @@ static void output_import_thunk( const char *name, const char *table, int pos ) break; case CPU_ARM: output( "\tldr IP,[PC,#0]\n"); - output( "\tmov PC,PC\n"); - output( "\t.long %s\n", table ); output( "\tldr PC,[IP,#%d]\n", pos); + output( "\t.long %s\n", table ); break; case CPU_POWERPC: output( "\tmr %s, %s\n", ppc_reg(0), ppc_reg(31) ); -- 2.11.4.GIT