From 2faeaf50fd3e83a8573d6008f3e927c1d40c3b4a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 May 2022 13:44:13 +0200 Subject: Use global atexit data for all configurations For the exit processing only members of _GLOBAL_REENT were used by default. If the _REENT_GLOBAL_ATEXIT option was enabled, then the data structures were provided through dedicated global objects. Make this option the default. Remove the option. Rename struct _reent members _atexit and _atexit0 to _reserved_6 and _reserved_7, respectively. Provide them only if _REENT_BACKWARD_BINARY_COMPAT is defined. --- newlib/README | 6 ------ 1 file changed, 6 deletions(-) (limited to 'newlib/README') diff --git a/newlib/README b/newlib/README index 9de294e9c..f00e66019 100644 --- a/newlib/README +++ b/newlib/README @@ -294,12 +294,6 @@ One feature can be enabled by specifying `--enable-FEATURE=yes' or Disable dynamic allocation of atexit entries. Most hosts and targets have it enabled in configure.host. -`--enable-newlib-global-atexit' - Enable atexit data structure as global variable. By doing so it is - move out of _reent structure, and can be garbage collected if atexit - is not referenced. - Disabled by default. - `--enable-newlib-global-stdio-streams' Enable to move the stdio stream FILE objects out of struct _reent and make them global. The stdio stream pointers of struct _reent are initialized -- cgit v1.2.3