2019-01-23 19:43:05 +01:00
|
|
|
void __init_wut_malloc();
|
2019-01-23 19:30:07 +01:00
|
|
|
void __init_wut_newlib();
|
2019-01-24 22:59:02 +01:00
|
|
|
extern void __init_wut_stdcpp() __attribute__((weak));
|
2019-01-23 19:30:07 +01:00
|
|
|
void __init_wut_devoptab();
|
2018-05-27 12:12:49 +01:00
|
|
|
|
2019-01-23 19:43:05 +01:00
|
|
|
void __fini_wut_malloc();
|
2019-01-23 19:30:07 +01:00
|
|
|
void __fini_wut_newlib();
|
2019-01-24 22:59:02 +01:00
|
|
|
extern void __fini_wut_stdcpp() __attribute__((weak));
|
2019-01-23 19:30:07 +01:00
|
|
|
void __fini_wut_devoptab();
|
2018-05-27 12:12:49 +01:00
|
|
|
|
2019-01-23 19:30:07 +01:00
|
|
|
void __attribute__((weak))
|
2018-05-27 12:12:49 +01:00
|
|
|
__init_wut()
|
|
|
|
{
|
2019-01-23 19:43:05 +01:00
|
|
|
__init_wut_malloc();
|
2019-01-23 19:30:07 +01:00
|
|
|
__init_wut_newlib();
|
2019-01-24 22:59:02 +01:00
|
|
|
if (__init_wut_stdcpp) {
|
|
|
|
__init_wut_stdcpp();
|
|
|
|
}
|
2019-01-23 19:30:07 +01:00
|
|
|
__init_wut_devoptab();
|
2018-05-27 12:12:49 +01:00
|
|
|
}
|
|
|
|
|
2019-01-23 19:30:07 +01:00
|
|
|
void __attribute__((weak))
|
2018-05-27 12:12:49 +01:00
|
|
|
__fini_wut()
|
|
|
|
{
|
2019-01-23 19:30:07 +01:00
|
|
|
__fini_wut_devoptab();
|
2019-01-24 22:59:02 +01:00
|
|
|
if (__fini_wut_stdcpp) {
|
|
|
|
__fini_wut_stdcpp();
|
|
|
|
}
|
2019-01-23 19:30:07 +01:00
|
|
|
__fini_wut_newlib();
|
2019-01-23 19:43:05 +01:00
|
|
|
__fini_wut_malloc();
|
2018-09-30 08:37:57 +01:00
|
|
|
}
|