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/newlib.hin | 3 --- 1 file changed, 3 deletions(-) (limited to 'newlib/newlib.hin') diff --git a/newlib/newlib.hin b/newlib/newlib.hin index 4a9614970..718e5d970 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -378,9 +378,6 @@ /* Verify _REENT_CHECK macros allocate memory successfully. */ #undef _REENT_CHECK_VERIFY -/* Define if declare atexit data as global. */ -#undef _REENT_GLOBAL_ATEXIT - /* Define if using retargetable functions for default lock routines. */ #undef _RETARGETABLE_LOCKING -- cgit v1.2.3