Commit e9afc9bf authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Stop generating the syscall argument array and related data.

parent 85dbc046
...@@ -80,6 +80,7 @@ static DWORD (WINAPI *pCtrlRoutine)(void *); ...@@ -80,6 +80,7 @@ static DWORD (WINAPI *pCtrlRoutine)(void *);
SYSTEM_DLL_INIT_BLOCK LdrSystemDllInitBlock = { 0xf0 }; SYSTEM_DLL_INIT_BLOCK LdrSystemDllInitBlock = { 0xf0 };
void *__wine_syscall_dispatcher = NULL;
unixlib_handle_t __wine_unixlib_handle = 0; unixlib_handle_t __wine_unixlib_handle = 0;
/* windows directory */ /* windows directory */
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "ntgdi.h" #include "ntgdi.h"
#include "wine/unixlib.h" #include "wine/unixlib.h"
extern void *__wine_syscall_dispatcher DECLSPEC_HIDDEN; void *__wine_syscall_dispatcher = NULL;
static unixlib_handle_t win32u_handle; static unixlib_handle_t win32u_handle;
......
...@@ -1519,15 +1519,6 @@ void output_syscalls( DLLSPEC *spec ) ...@@ -1519,15 +1519,6 @@ void output_syscalls( DLLSPEC *spec )
default: default:
break; break;
} }
output( "\t.data\n" );
output( "\t.balign %u\n", get_ptr_size() );
output( "%s\n", asm_globl("__wine_syscall_dispatcher") );
output( "\t%s 0\n", get_asm_ptr_keyword() ); /* dispatcher */
output( "\t.long 0xca110001\n" ); /* version */
output( "\t.short %u\n", spec->syscall_table ); /* id */
output( "\t.short %u\n", count ); /* limit */
for (i = 0; i < count; i++) output( "\t.short %u\n", syscalls[i]->hint );
for (i = 0; i < count; i++) output( "\t.byte %u\n", get_args_size( syscalls[i] ));
} }
......
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