* libc/stdlib/__atexit.c (__register_exitproc): NULL-ify
_on_exit_args_ptr when creating a new _atexit structure while _REENT_SMALL is defined.
This commit is contained in:
parent
6f3dd43ee6
commit
cbd871ad41
|
@ -1,3 +1,9 @@
|
||||||
|
2013-08-19 Meador Inge <meadori@codesourcery.com>
|
||||||
|
|
||||||
|
* libc/stdlib/__atexit.c (__register_exitproc): NULL-ify
|
||||||
|
_on_exit_args_ptr when creating a new _atexit structure while
|
||||||
|
_REENT_SMALL is defined.
|
||||||
|
|
||||||
2013-08-12 Bin Cheng <bin.cheng@arm.com>
|
2013-08-12 Bin Cheng <bin.cheng@arm.com>
|
||||||
|
|
||||||
* libc/configure.in (--enable-newlib-wchar-orient): Remove.
|
* libc/configure.in (--enable-newlib-wchar-orient): Remove.
|
||||||
|
|
|
@ -104,6 +104,8 @@ _DEFUN (__register_exitproc,
|
||||||
#ifndef _REENT_SMALL
|
#ifndef _REENT_SMALL
|
||||||
p->_on_exit_args._fntypes = 0;
|
p->_on_exit_args._fntypes = 0;
|
||||||
p->_on_exit_args._is_cxa = 0;
|
p->_on_exit_args._is_cxa = 0;
|
||||||
|
#else
|
||||||
|
p->_on_exit_args_ptr = NULL;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue