Commit 575042e7 authored by Eric Frias's avatar Eric Frias Committed by Alexandre Julliard

Fix Sparc assembly code in wine_switch_to_stack.

parent 0bc85023
......@@ -116,7 +116,7 @@ __declspec(naked) void wine_switch_to_stack( void (*func)(void *), void *arg, vo
__ASM_GLOBAL_FUNC( wine_switch_to_stack,
"mov %o0, %l0\n\t" /* store first argument */
"mov %o1, %l1\n\t" /* store second argument */
"mov %o2, %sp\n\t" /* store stack */
"sub %o2, 96, %sp\n\t" /* store stack */
"call %l0, 0\n\t" /* call func */
"mov %l1, %o0\n\t" /* delay slot: arg for func */
"ta 0x01"); /* breakpoint - we never get here */
......
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