Commit ac90c1bd authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winebuild: Simplify the ARM part of output_import_thunk.

parent 57b7044c
......@@ -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) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment