This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Initialize _reent with memset, also in the _REENT_SMALL case


On Jun 23 13:14, Federico Terraneo wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> A while ago this patch was applied
> 
> http://www.sourceware.org/ml/newlib/2013/msg00304.html
> 
> to optimize _REENT_INIT_PTR() with a memset. However, the same change
> was not done in the _REENT_SMALL case. This patch also removes
> _ATEXIT_INIT_PTR() and _REENT_INIT_ATEXIT_PTR() since they're no longer
> used.
> 
> newlib/ChangeLog
> 2013-06-23  Terraneo Federico  <...>
> 
> 	* libc/include/sys/reent.h (_ATEXIT_INIT_PTR): Remove.
> 	  (_REENT_INIT_ATEXIT_PTR): Remove.
>           (_REENT_INIT_PTR): Reduce code size if _REENT_SMALL.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]