[PATCH] Initialize _reent with memset, also in the _REENT_SMALL case
Federico Terraneo
fede.tft@hotmail.it
Sun Jun 23 11:14:00 GMT 2013
-----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 <fede.tft@hotmail.it>
* libc/include/sys/reent.h (_ATEXIT_INIT_PTR): Remove.
(_REENT_INIT_ATEXIT_PTR): Remove.
(_REENT_INIT_PTR): Reduce code size if _REENT_SMALL.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRxtiRAAoJECkLFtN5Xr9fT38H/0NiVoBMs8kApvDQ1j+f6Rh8
gNGiVnS2T6nPZeX62FXhQwWNDxbFSlYEt3oIXlNVKkQ0XVBGs4ogyMTFjr5g3ak5
i/d01htlHrqI1zBHkg9s6XIB8v79fCWOq08WEVa6n6SrN1J38IxdnDiLUmS4aKKk
vvfcDIjGEhixy7J7j7I5xB9TV5WBHFIIxHuigk/xhfKzKokYhgV4ea7D6p1v+nsR
3PdK8+5fdNb+D0ubNplyT4MyuwZcc07jsvupcOZI0E8wl+Rnj0QI4cAODGKva7Tp
yeKjWRYH4repXrCQ7YO5n9SbCAxEk2vPYQWIcfOPLl5FXNouUfU7/fhZBXfgBrs=
=4TvM
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memset_reent_small.patch
Type: text/x-patch
Size: 2300 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20130623/50b5f921/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memset_reent_small.patch.sig
Type: application/octet-stream
Size: 287 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20130623/50b5f921/attachment.obj>
More information about the Newlib
mailing list