diff options
Diffstat (limited to 'newlib/libc/stdlib/__atexit.c')
-rw-r--r-- | newlib/libc/stdlib/__atexit.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/newlib/libc/stdlib/__atexit.c b/newlib/libc/stdlib/__atexit.c index 310b69174..04f494738 100644 --- a/newlib/libc/stdlib/__atexit.c +++ b/newlib/libc/stdlib/__atexit.c @@ -48,10 +48,8 @@ _DEFUN (__register_exitproc, _GLOBAL_REENT->_atexit = p; #ifndef _REENT_SMALL p->_on_exit_args._fntypes = 0; -#ifdef __REENT_HAS_CXA_SUPPORT p->_on_exit_args._is_cxa = 0; #endif -#endif } if (type != __et_atexit) @@ -70,20 +68,16 @@ _DEFUN (__register_exitproc, } args->_fntypes = 0; args->_is_cxa = 0; -#ifdef __REENT_HAS_CXA_SUPPORT p->_on_exit_args_ptr = args; -#endif } #else args = &p->_on_exit_args; #endif args->_fnargs[p->_ind] = arg; args->_fntypes |= (1 << p->_ind); -#ifdef __REENT_HAS_CXA_SUPPORT args->_dso_handle[p->_ind] = d; if (type == __et_cxa) args->_is_cxa |= (1 << p->_ind); -#endif } p->_fns[p->_ind++] = fn; #ifndef __SINGLE_THREAD__ |