Commit 7e4ea871 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winebuild: Use asm_name for __wine_syscall.

parent 829c7595
......@@ -1591,7 +1591,7 @@ void output_syscalls( DLLSPEC *spec )
else
{
output( "\tmovl $%u,%%eax\n", i );
output( "\tmovl $__wine_syscall,%%edx\n" );
output( "\tmovl $%s,%%edx\n", asm_name("__wine_syscall") );
}
output( "\tcall *%%edx\n" );
output( "\tret $%u\n", get_args_size( odp ));
......@@ -1650,7 +1650,7 @@ void output_syscalls( DLLSPEC *spec )
{
output( "\t.align %d\n", get_alignment(16) );
output( "\t%s\n", func_declaration("__wine_syscall") );
output( "__wine_syscall:\n" );
output( "%s:\n", asm_name("__wine_syscall") );
output( "\tjmp *(%s)\n", asm_name("__wine_syscall_dispatcher") );
output_function_size( "__wine_syscall" );
}
......
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