This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 2/2] Add and use _REENT_GLOBAL_ATEXIT
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Wed, 08 May 2013 09:15:08 +0200
- Subject: Re: [PATCH 2/2] Add and use _REENT_GLOBAL_ATEXIT
- References: <1367959326-14365-1-git-send-email-sebastian dot huber at embedded-brains dot de> <1367959326-14365-2-git-send-email-sebastian dot huber at embedded-brains dot de> <518973F1 dot 5040407 at oarcorp dot com>
On 05/07/2013 11:36 PM, Joel Sherrill wrote:
First, I am thrilled to see the reent structure shrinking.
Yes, its noticeable. On PowerPC approximately 400 bytes or 37%.
But binary compatibility has been mentioned.
Binary compatibility with what? What targets?
All targets using "newlib/libc/include/sys/reent.h".
Except for Cygwin and Linux, I would think most users are
compiling from source. And even if not, I wouldn't think it
was cool to directly access the reent structure anyway. If
we added, deleted or reordered the fields, things would break.
Just curious what this use case is.
This patch removes two fields from the middle of struct _reent, thus the
structure layout changes.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.