public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Add --enable-newlib-backward-binary-compat configure option
@ 2022-05-13 13:46 Sebastian Huber
  2022-05-13 13:46 ` [PATCH 1/7] Add --enable-newlib-backward-binary-compat Sebastian Huber
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Sebastian Huber @ 2022-05-13 13:46 UTC (permalink / raw)
  To: newlib

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-05-16 11:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 13:46 [PATCH 0/7] Add --enable-newlib-backward-binary-compat configure option Sebastian Huber
2022-05-13 13:46 ` [PATCH 1/7] Add --enable-newlib-backward-binary-compat Sebastian Huber
2022-05-13 13:46 ` [PATCH 2/7] Cygwin: Enable backward binary compatibility Sebastian Huber
2022-05-13 20:15   ` Corinna Vinschen
2022-05-16  5:31     ` Sebastian Huber
2022-05-16 11:09       ` Corinna Vinschen
2022-05-13 13:46 ` [PATCH 3/7] Optional struct _reent::__unused_sdidinit Sebastian Huber
2022-05-13 13:46 ` [PATCH 4/7] Optional struct _reent::_unspecified_locale_info Sebastian Huber
2022-05-13 13:46 ` [PATCH 5/7] Optional struct _reent::_new::_unused Sebastian Huber
2022-05-13 13:46 ` [PATCH 6/7] Optional struct _reent::_new::_reent::_unused_rand Sebastian Huber
2022-05-13 13:47 ` [PATCH 7/7] Use global atexit data for all configurations Sebastian Huber
2022-05-13 16:30   ` Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).