aboutsummaryrefslogtreecommitdiff
path: root/newlib/newlib.hin
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-13 13:44:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-18 07:45:09 +0200
commit2faeaf50fd3e83a8573d6008f3e927c1d40c3b4a (patch)
treee86a3f2d6f349d74c111aac37dbfafeacf723dfe /newlib/newlib.hin
parent9035e406cbda2dcab02dde1c6bd7db0a6f6f1563 (diff)
downloadnewlib-2faeaf50fd3e83a8573d6008f3e927c1d40c3b4a.zip
newlib-2faeaf50fd3e83a8573d6008f3e927c1d40c3b4a.tar.gz
newlib-2faeaf50fd3e83a8573d6008f3e927c1d40c3b4a.tar.bz2
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.
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r--newlib/newlib.hin3
1 files changed, 0 insertions, 3 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin
index 4a96149..718e5d9 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