2 Jul
2020
2 Jul
'20
12:13 p.m.
Paul Gofman <pgofman(a)codeweavers.com> writes:
@@ -243,6 +243,13 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte return NtRaiseException( rec, context, FALSE ); }
+__ASM_GLOBAL_FUNC( KiUserExceptionDispatcher(a)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. -- Alexandre Julliard julliard(a)winehq.org