frame_dummy (void) { #ifdef USE_EH_FRAME_REGISTRY static struct object object; #if defined(CRT_GET_RFIB_TEXT) || defined(CRT_GET_RFIB_DATA) void *tbase, *dbase; #ifdef CRT_GET_RFIB_TEXT CRT_GET_RFIB_TEXT (tbase); #else tbase = 0; #endif #ifdef CRT_GET_RFIB_DATA CRT_GET_RFIB_DATA (dbase); #else dbase = 0; #endif if (__register_frame_info_bases) __register_frame_info_bases (__EH_FRAME_BEGIN__, &object, tbase, dbase); #else if (__register_frame_info) __register_frame_info (__EH_FRAME_BEGIN__, &object); #endif #endif /* USE_EH_FRAME_REGISTRY */ #ifdef JCR_SECTION_NAME if (__JCR_LIST__[0] && _Jv_RegisterClasses) _Jv_RegisterClasses (__JCR_LIST__); #endif /* JCR_SECTION_NAME */ }
void _do_init(void) { static int initialized = 0; /* * Call global constructors. * Arrange to call global destructors at exit. */ if (!initialized) { initialized = 1; if (__JCR_LIST__[0] && _Jv_RegisterClasses) _Jv_RegisterClasses(__JCR_LIST__); __ctors(); } }
frame_dummy (void) { #ifdef USE_EH_FRAME_REGISTRY static struct object object; #ifdef CRT_GET_RFIB_DATA void *tbase, *dbase; tbase = 0; CRT_GET_RFIB_DATA (dbase); if (__register_frame_info_bases) __register_frame_info_bases (__EH_FRAME_BEGIN__, &object, tbase, dbase); #else if (__register_frame_info) __register_frame_info (__EH_FRAME_BEGIN__, &object); #endif /* CRT_GET_RFIB_DATA */ #endif /* USE_EH_FRAME_REGISTRY */ #ifdef JCR_SECTION_NAME if (__JCR_LIST__[0]) { if (_Jv_RegisterClasses) _Jv_RegisterClasses (__JCR_LIST__); } #endif /* JCR_SECTION_NAME */ }