2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
16 #pragma comment(linker, "/alternatename:__RTC_Initialize=__RTC_NoInitialize")
17 #elif defined(_M_IA64) || defined(_M_AMD64) || defined(_M_ARM)
18 #pragma comment(linker, "/alternatename:_RTC_Initialize=_RTC_NoInitialize")
20 #error Unsupported platform
23 extern _PVFV __xi_a
[];
24 extern _PVFV __xi_z
[];
25 extern _PVFV __xc_a
[];
26 extern _PVFV __xc_z
[];
35 for (current
= start
; current
< end
; current
++)
37 if (*current
!= NULL
);
42 void _pei386_runtime_relocator(void)
46 int __mingw_init_ehandler(void)
53 __do_global_dtors(void)
59 __do_global_ctors(void)
61 __do_xtors(__xi_a
, __xi_z
);
62 __do_xtors(__xc_a
, __xc_z
);
67 _CRT_INIT0(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID lpReserved
)
78 const wchar_t *module
,
79 const wchar_t *format
,
82 /* FIXME: better failure routine */
90 _RTC_NoInitialize(void)
92 /* Do nothing, if RunTmChk.lib is not pulled in */
104 return &Catch_RTC_Failure
;
107 static int initialized
= 0;
118 __do_global_ctors ();