void __fini() { /* * Call global destructors. */ __dtors(); }
void __do_global_dtors_aux(void) { static int finished; if (finished) return; __dtors(); finished = 1; }
void _do_fini(void) { static int finalized = 0; if (!finalized) { finalized = 1; if (__cxa_finalize != NULL) __cxa_finalize(__dso_handle); /* * since the _init() function sets up the destructors to * be called by atexit, do not call the destructors here. */ __dtors(); } }