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 2/2] Add and use _REENT_GLOBAL_ATEXIT


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.


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