Paul Gofman pgofman@codeweavers.com writes:
@@ -243,6 +243,13 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte return NtRaiseException( rec, context, FALSE ); }
+__ASM_GLOBAL_FUNC( KiUserExceptionDispatcher@8,
You need to use __ASM_STDCALL_FUNC.
+__ASM_GLOBAL_FUNC( call_user_exception_dispatcher,
"add $4,%esp\n\t"
"jmp *pKiUserExceptionDispatcher\n\t")
You can't access the variable this way for PIC code.