Module: wine Branch: master Commit: ac90c1bd1878599710605fa5b4e2fe8ce224b280 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac90c1bd1878599710605fa5b4...
Author: André Hentschel nerv@dawncrow.de Date: Fri Jun 17 16:53:12 2011 +0200
winebuild: Simplify the ARM part of output_import_thunk.
---
tools/winebuild/import.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index b0901a6..00c030b 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) );