Commit 9d619b1f authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

winebuild: Spell out "x30" instead of "lr" for arm64.

This fixes building with older binutils versions. Signed-off-by: 's avatarMartin Storsjo <martin@martin.st> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 413eeaea
......@@ -1772,14 +1772,14 @@ static void output_syscall_dispatcher(void)
output( "\tstp x4, x5, [sp, #32]\n" );
output( "\tstp x6, x7, [sp, #48]\n" );
output( "\tstp x8, x9, [sp, #64]\n" );
output( "\tstr lr, [sp, #80]\n" );
output( "\tstr x30, [sp, #80]\n" );
output( "\tbl %s\n", asm_name("NtCurrentTeb") );
output( "\tmov x18, x0\n" );
output( "\tldp x2, x3, [sp, #16]\n" );
output( "\tldp x4, x5, [sp, #32]\n" );
output( "\tldp x6, x7, [sp, #48]\n" );
output( "\tldp x8, x9, [sp, #64]\n" );
output( "\tldr lr, [sp, #80]\n" );
output( "\tldr x30, [sp, #80]\n" );
output( "\tldp x0, x1, [sp], #96\n" );
output( "\tldr x10, [x18, #0x2f8]\n" ); /* arm64_thread_data()->syscall_frame */
......@@ -1792,7 +1792,7 @@ static void output_syscall_dispatcher(void)
output( "\tmov x19, sp\n" );
output( "\tstp x9, x19, [x10, #0xf0]\n" );
output( "\tmrs x9, NZCV\n" );
output( "\tstp lr, x9, [x10, #0x100]\n" );
output( "\tstp x30, x9, [x10, #0x100]\n" );
output( "\tstr xzr, [x10, #0x110]\n" ); /* frame->restore_flags */
output( "\tmrs x9, FPCR\n" );
output( "\tstr w9, [x10, #0x118]\n" );
......
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