winebuild: Fix building for arm with older versions of binutils.

Use an explicit "movw" instead of a plain "mov", as the immediates
might not fit in a narrow thumb mov instruction. Newer versions
of binutils deduces this implicitly.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Martin Storsjö 2021-08-03 12:47:21 +03:00 committed by Alexandre Julliard
parent 8a016805f0
commit 5de4766475
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ static void output_relay_debug( DLLSPEC *spec )
if (has_float) output( "\tvpush {s0-s15}\n" );
output( "\tpush {LR}\n" );
output( "\tsub SP, #4\n");
output( "\tmov r1,#%u\n", i - spec->base );
output( "\tmovw r1,#%u\n", i - spec->base );
output( "\tmovt r1,#%u\n", odp->u.func.args_str_offset );
if (UsePIC)
{