mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 17:45:06 +00:00
[MSVCRT] Fix export of __uncaught_exception
[MSHTML] Add x64 asm wrappers svn path=/trunk/; revision=63219
This commit is contained in:
parent
2e1ac56d1c
commit
a74ecc13fd
2 changed files with 16 additions and 7 deletions
|
@ -4,13 +4,23 @@
|
|||
.code
|
||||
|
||||
MACRO(DEFINE_WRAPPER_FUNC, n, off, x)
|
||||
#ifdef _M_IX86
|
||||
PUBLIC _wrapper_func_&n&
|
||||
_wrapper_func_&n&:
|
||||
mov eax, [esp+4]
|
||||
mov eax, [eax+4]
|
||||
mov [esp+4], eax
|
||||
mov eax, [eax]
|
||||
jmp dword ptr [eax+off]
|
||||
mov eax, [esp+4]
|
||||
mov eax, [eax+4]
|
||||
mov [esp+4], eax
|
||||
mov eax, [eax]
|
||||
jmp dword ptr [eax+off]
|
||||
#elif defined(_M_AMD64)
|
||||
PUBLIC wrapper_func_&n&
|
||||
wrapper_func_&n&:
|
||||
mov rcx, [rcx+4]
|
||||
mov rax, [rcx]
|
||||
jmp qword ptr [rax+off]
|
||||
#else
|
||||
#error Unimplemented
|
||||
#endif
|
||||
ENDM
|
||||
|
||||
DEFINE_WRAPPER_FUNC 3, 12, 24
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
# @ cdecl ??_U@YAPAXIHPBDH@Z(long long str long) MSVCRT_operator_new_dbg
|
||||
@ cdecl -arch=win32 ??_V@YAXPAX@Z(ptr) MSVCRT_operator_delete
|
||||
@ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) MSVCRT_operator_delete
|
||||
@ cdecl -arch=win64 -norelay __uncaught_exception(ptr)
|
||||
@ cdecl -norelay __uncaught_exception(ptr)
|
||||
@ cdecl -arch=win32 -norelay ?_query_new_handler@@YAP6AHI@ZXZ() MSVCRT__query_new_handler
|
||||
@ cdecl -arch=win64 -norelay ?_query_new_handler@@YAP6AH_K@ZXZ() MSVCRT__query_new_handler
|
||||
@ cdecl ?_query_new_mode@@YAHXZ() MSVCRT__query_new_mode
|
||||
|
@ -256,7 +256,6 @@
|
|||
@ cdecl __threadhandle() kernel32.GetCurrentThread
|
||||
@ cdecl __threadid() kernel32.GetCurrentThreadId
|
||||
@ cdecl __toascii(long)
|
||||
@ cdecl __uncaught_exception()
|
||||
@ cdecl __unDName(ptr str long ptr ptr long)
|
||||
@ cdecl __unDNameEx(ptr str long ptr ptr ptr long)
|
||||
@ extern __unguarded_readlc_active
|
||||
|
|
Loading…
Reference in a new issue