2018-06-13 14:36:15 +02:00
|
|
|
extern void __init_wut_devoptab_sd() __attribute__((weak));
|
2018-05-27 13:12:49 +02:00
|
|
|
extern void __init_wut_newlib() __attribute__((weak));
|
|
|
|
extern void __init_wut_stdcpp() __attribute__((weak));
|
|
|
|
|
2018-06-13 14:36:15 +02:00
|
|
|
extern void __fini_wut_devoptab_sd() __attribute__((weak));
|
2018-05-27 13:12:49 +02:00
|
|
|
extern void __fini_wut_newlib() __attribute__((weak));
|
|
|
|
extern void __fini_wut_stdcpp() __attribute__((weak));
|
|
|
|
|
|
|
|
void
|
|
|
|
__init_wut()
|
|
|
|
{
|
|
|
|
if (__init_wut_newlib) {
|
|
|
|
__init_wut_newlib();
|
|
|
|
}
|
|
|
|
|
2018-06-13 14:36:15 +02:00
|
|
|
if (__init_wut_devoptab_sd) {
|
|
|
|
__init_wut_devoptab_sd();
|
2018-05-27 13:12:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (__init_wut_stdcpp) {
|
|
|
|
__init_wut_stdcpp();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
__fini_wut()
|
|
|
|
{
|
|
|
|
if (__fini_wut_stdcpp) {
|
|
|
|
__fini_wut_stdcpp();
|
|
|
|
}
|
|
|
|
|
2018-06-13 14:36:15 +02:00
|
|
|
if (__fini_wut_devoptab_sd) {
|
|
|
|
__fini_wut_devoptab_sd();
|
2018-05-27 13:12:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (__fini_wut_newlib) {
|
|
|
|
__fini_wut_newlib();
|
|
|
|
}
|
|
|
|
}
|