[PATCH 0/7] Add --enable-newlib-backward-binary-compat configure option
Sebastian Huber <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
This patch set adds the --enable-newlib-backward-binary-compat configure option which may be used to define the new Newlib configuration option _NEWLIB_BACKWARD_BINARY_COMPAT. This option can be used to provided binary backward compatibility, for example by preserving unused members in struct _reent to keep the structure layout. Make _REENT_GLOBAL_ATEXIT the default and remove this option. Sebastian Huber (7): Add --enable-newlib-backward-binary-compat Cygwin: Enable backward binary compatibility Optional struct _reent::__unused_sdidinit Optional struct _reent::_unspecified_locale_info Optional struct _reent::_new::_unused Optional struct _reent::_new::_reent::_unused_rand Use global atexit data for all configurations newlib/README | 11 +++-- newlib/configure | 28 +++++++++--- newlib/configure.ac | 23 +++++++--- newlib/libc/include/sys/config.h | 7 ++- newlib/libc/include/sys/reent.h | 64 ++++++++++++++++----------- newlib/libc/reent/reent.c | 19 -------- newlib/libc/stdlib/__atexit.c | 15 +++---- newlib/libc/stdlib/__call_atexit.c | 8 ++-- newlib/newlib.hin | 6 +-- winsup/cygwin/include/cygwin/config.h | 1 + 10 files changed, 98 insertions(+), 84 deletions(-) -- 2.35.3