Commit 9aa43234 authored by Simon Richter's avatar Simon Richter Committed by Alexandre Julliard

Fix winebuild's ppc assembly generation.

parent bb648917
...@@ -716,7 +716,7 @@ static void output_import_thunk( FILE *outfile, const char *name, const char *ta ...@@ -716,7 +716,7 @@ static void output_import_thunk( FILE *outfile, const char *name, const char *ta
} }
else else
{ {
fprintf( outfile, "\tlis %s, (%s+%d)@hi\n", ppc_reg(9), table, pos ); fprintf( outfile, "\tlis %s, (%s+%d)@h\n", ppc_reg(9), table, pos );
fprintf( outfile, "\tla %s, (%s+%d)@l(%s)\n", ppc_reg(8), table, pos, ppc_reg(9) ); fprintf( outfile, "\tla %s, (%s+%d)@l(%s)\n", ppc_reg(8), table, pos, ppc_reg(9) );
} }
fprintf( outfile, "\tlwz %s, 0(%s)\n", ppc_reg(7), ppc_reg(8) ); fprintf( outfile, "\tlwz %s, 0(%s)\n", ppc_reg(7), ppc_reg(8) );
......
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