Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d538432d
Commit
d538432d
authored
Mar 08, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Import setjmp/setjmpex from ntdll.
parent
1d168222
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
41 additions
and
62 deletions
+41
-62
crtdll.spec
dlls/crtdll/crtdll.spec
+1
-1
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+4
-4
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+4
-4
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+4
-4
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+1
-1
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+2
-2
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+2
-2
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+4
-4
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+3
-3
except_arm.c
dlls/msvcrt/except_arm.c
+0
-6
except_arm64.c
dlls/msvcrt/except_arm64.c
+1
-2
except_arm64ec.c
dlls/msvcrt/except_arm64ec.c
+0
-9
except_i386.c
dlls/msvcrt/except_i386.c
+5
-4
except_x86_64.c
dlls/msvcrt/except_x86_64.c
+0
-6
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+4
-4
msvcrtd.spec
dlls/msvcrtd/msvcrtd.spec
+2
-2
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+4
-4
No files found.
dlls/crtdll/crtdll.spec
View file @
d538432d
...
...
@@ -268,7 +268,7 @@
@ cdecl _scalb(double long)
@ cdecl _searchenv(str str ptr)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -norelay _setjmp(ptr)
@ cdecl _setmode(long long)
@ stub _setsystime(ptr long)
@ cdecl _sleep(long)
...
...
dlls/msvcr100/msvcr100.spec
View file @
d538432d
...
...
@@ -1284,9 +1284,9 @@
@ cdecl _set_printf_count_output(long)
@ cdecl _set_purecall_handler(ptr)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
__wine_setjmpex
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -1780,7 +1780,7 @@
@ varargs scanf(str)
@ varargs scanf_s(str)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
dlls/msvcr110/msvcr110.spec
View file @
d538432d
...
...
@@ -1641,9 +1641,9 @@
@ cdecl _set_printf_count_output(long)
@ cdecl _set_purecall_handler(ptr)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
__wine_setjmpex
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -2138,7 +2138,7 @@
@ varargs scanf(str)
@ varargs scanf_s(str)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
dlls/msvcr120/msvcr120.spec
View file @
d538432d
...
...
@@ -1653,9 +1653,9 @@
@ cdecl _set_printf_count_output(long)
@ cdecl _set_purecall_handler(ptr)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
__wine_setjmpex
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -2349,7 +2349,7 @@
@ varargs scanf(str)
@ varargs scanf_s(str)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
d538432d
...
...
@@ -2013,7 +2013,7 @@
@ varargs scanf(str) msvcr120.scanf
@ varargs scanf_s(str) msvcr120.scanf_s
@ cdecl setbuf(ptr ptr) msvcr120.setbuf
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr) msvcr120.setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr
) msvcr120.setjmp
@ cdecl setlocale(long str) msvcr120.setlocale
@ cdecl setvbuf(ptr str long long) msvcr120.setvbuf
@ cdecl signal(long long) msvcr120.signal
...
...
dlls/msvcr70/msvcr70.spec
View file @
d538432d
...
...
@@ -520,8 +520,8 @@
@ cdecl _set_sbh_threshold(long)
@ cdecl _set_security_error_handler(ptr)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
dlls/msvcr71/msvcr71.spec
View file @
d538432d
...
...
@@ -516,8 +516,8 @@
@ cdecl _set_sbh_threshold(long)
@ cdecl _set_security_error_handler(ptr)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
dlls/msvcr80/msvcr80.spec
View file @
d538432d
...
...
@@ -964,9 +964,9 @@
@ cdecl _set_purecall_handler(ptr)
@ cdecl _set_sbh_threshold(long)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
__wine_setjmpex
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -1461,7 +1461,7 @@
@ varargs scanf(str)
@ varargs scanf_s(str)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
dlls/msvcr90/msvcr90.spec
View file @
d538432d
...
...
@@ -940,8 +940,8 @@
@ cdecl _set_purecall_handler(ptr)
@ cdecl _set_sbh_threshold(long)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -1433,7 +1433,7 @@
@ varargs scanf(str)
@ varargs scanf_s(str)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
dlls/msvcrt/except_arm.c
View file @
d538432d
...
...
@@ -106,12 +106,6 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
/*******************************************************************
* _setjmp (MSVCRT.@)
*/
__ASM_GLOBAL_FUNC
(
MSVCRT__setjmp
,
"b "
__ASM_NAME
(
"__wine_setjmpex"
));
/*******************************************************************
* longjmp (MSVCRT.@)
*/
void
__cdecl
MSVCRT_longjmp
(
_JUMP_BUFFER
*
jmp
,
int
retval
)
...
...
dlls/msvcrt/except_arm64.c
View file @
d538432d
...
...
@@ -109,8 +109,7 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
/*******************************************************************
* _setjmp (MSVCRT.@)
*/
__ASM_GLOBAL_FUNC
(
MSVCRT__setjmp
,
"b "
__ASM_NAME
(
"__wine_setjmpex"
));
__ASM_GLOBAL_FUNC
(
_setjmp
,
"b _setjmpex"
);
/*******************************************************************
* longjmp (MSVCRT.@)
...
...
dlls/msvcrt/except_arm64ec.c
View file @
d538432d
...
...
@@ -106,15 +106,6 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
/*******************************************************************
* _setjmp (MSVCRT.@)
*/
int
__attribute__
((
naked
))
MSVCRT__setjmp
(
jmp_buf
buf
)
{
asm
(
"b "
__ASM_NAME
(
"__wine_setjmpex"
)
);
}
/*******************************************************************
* longjmp (MSVCRT.@)
*/
void
__cdecl
MSVCRT_longjmp
(
_JUMP_BUFFER
*
jmp
,
int
retval
)
...
...
dlls/msvcrt/except_i386.c
View file @
d538432d
...
...
@@ -1024,8 +1024,9 @@ typedef void (__stdcall *MSVCRT_unwind_function)(const _JUMP_BUFFER *);
/*******************************************************************
* _setjmp (MSVCRT.@)
*/
DEFINE_SETJMP_ENTRYPOINT
(
MSVCRT__setjmp
)
int
CDECL
__regs_MSVCRT__setjmp
(
_JUMP_BUFFER
*
jmp
)
#undef _setjmp
DEFINE_SETJMP_ENTRYPOINT
(
_setjmp
)
int
CDECL
__regs__setjmp
(
_JUMP_BUFFER
*
jmp
)
{
jmp
->
Registration
=
(
unsigned
long
)
NtCurrentTeb
()
->
Tib
.
ExceptionList
;
if
(
jmp
->
Registration
==
~
0UL
)
...
...
@@ -1041,8 +1042,8 @@ int CDECL __regs_MSVCRT__setjmp(_JUMP_BUFFER *jmp)
/*******************************************************************
* _setjmp3 (MSVCRT.@)
*/
DEFINE_SETJMP_ENTRYPOINT
(
MSVCRT_
_setjmp3
)
int
WINAPIV
__regs_
MSVCRT_
_setjmp3
(
_JUMP_BUFFER
*
jmp
,
int
nb_args
,
...)
DEFINE_SETJMP_ENTRYPOINT
(
_setjmp3
)
int
WINAPIV
__regs__setjmp3
(
_JUMP_BUFFER
*
jmp
,
int
nb_args
,
...)
{
jmp
->
Cookie
=
MSVCRT_JMP_MAGIC
;
jmp
->
UnwindFunc
=
0
;
...
...
dlls/msvcrt/except_x86_64.c
View file @
d538432d
...
...
@@ -698,12 +698,6 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
/*******************************************************************
* _setjmp (MSVCRT.@)
*/
__ASM_GLOBAL_FUNC
(
MSVCRT__setjmp
,
"jmp "
__ASM_NAME
(
"__wine_setjmpex"
)
);
/*******************************************************************
* longjmp (MSVCRT.@)
*/
void
__cdecl
MSVCRT_longjmp
(
_JUMP_BUFFER
*
jmp
,
int
retval
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
d538432d
...
...
@@ -904,9 +904,9 @@
@ cdecl _set_output_format(long)
@ cdecl _set_sbh_threshold(long)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
__wine_setjmpex
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl -arch=!i386 -norelay _setjmpex(ptr ptr)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -1412,7 +1412,7 @@
@ varargs scanf(str)
@ varargs scanf_s(str)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
dlls/msvcrtd/msvcrtd.spec
View file @
d538432d
...
...
@@ -493,8 +493,8 @@
@ cdecl _set_error_mode(long)
@ cdecl _set_sbh_threshold(long)
@ cdecl _seterrormode(long)
@ cdecl -norelay _setjmp(ptr)
MSVCRT__setjmp
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -norelay _setjmp(ptr)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
d538432d
...
...
@@ -94,8 +94,8 @@
@ cdecl __fpecode()
@ cdecl __initialize_lconv_for_unsigned_char() __lconv_init
@ cdecl __intrinsic_abnormal_termination()
@ cdecl -norelay __intrinsic_setjmp(ptr)
MSVCRT_
_setjmp
@ cdecl -arch=!i386 -norelay __intrinsic_setjmpex(ptr ptr) _
_wine_
setjmpex
@ cdecl -norelay __intrinsic_setjmp(ptr) _setjmp
@ cdecl -arch=!i386 -norelay __intrinsic_setjmpex(ptr ptr) _setjmpex
@ cdecl __isascii(long)
@ cdecl __iscsym(long)
@ cdecl __iscsymf(long)
...
...
@@ -1898,7 +1898,7 @@
@ cdecl _set_se_translator(ptr)
@ cdecl _set_thread_local_invalid_parameter_handler(ptr)
@ cdecl _seterrormode(long)
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
MSVCRT__setjmp3
@ cdecl -arch=i386 -norelay _setjmp3(ptr long)
@ cdecl _setmaxstdio(long)
@ cdecl _setmbcp(long)
@ cdecl _setmode(long long)
...
...
@@ -2487,7 +2487,7 @@
@ cdecl set_terminate(ptr)
@ cdecl set_unexpected(ptr)
@ cdecl setbuf(ptr ptr)
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
) MSVCRT_
_setjmp
@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr
ptr)
_setjmp
@ cdecl setlocale(long str)
@ cdecl setvbuf(ptr str long long)
@ cdecl signal(long long)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment