[PATCH 2/2] Add and use _REENT_GLOBAL_ATEXIT

Jeff Johnston jjohnstn@redhat.com
Wed May 8 23:14:00 GMT 2013


Patch checked in.

-- Jeff J.

On 05/07/2013 04:42 PM, Sebastian Huber wrote:
> 2013-05-07  Sebastian Huber<sebastian.huber@embedded-brains.de>
>
> 	* libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for
> 	RTEMS.
> 	* libc/include/sys/reent.h (_reent): Use _REENT_GLOBAL_ATEXIT.
> 	(_global_atexit): Declare if _REENT_GLOBAL_ATEXIT is defined.
> 	* libc/reent/reent.c (_reclaim_reent): Remove atexit cleanup if
> 	_REENT_GLOBAL_ATEXIT is defined.
> 	(_wrapup_reent): Remove atexit handling if _REENT_GLOBAL_ATEXIT
> 	is defined.
> 	* libc/stdlib/__atexit.c (_global_atexit0): Define if
> 	_REENT_GLOBAL_ATEXIT is defined.
> 	* libc/stdlib/__call_atexit.c (_global_atexit): Define if
> 	_REENT_GLOBAL_ATEXIT is defined.



More information about the Newlib mailing list