Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-03-21 03:57:34 +0300
committerMark Mitchell <mark@codesourcery.com>2006-03-21 03:57:34 +0300
commit3078fb4f360e44b436bafcd9e7c51f26792e34b4 (patch)
tree73dd0a205a2e36fad8a6f952171248396769b97c /newlib/newlib.hin
parentc1494e03a2374c5841e7b53e0a97a3af7438cc76 (diff)
* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
* configure.in (--disable-newlib-atexit-dynamic-alloc): New option. * configure: Regenerated. * newlib.hin: Regenerated. * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc if _ATEXIT_DYNAMIC_ALLOC is undefined. * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free if _ATEXIT_DYNAMIC_ALLOC is undefined.
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r--newlib/newlib.hin4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin
index b716ab5b2..207192897 100644
--- a/newlib/newlib.hin
+++ b/newlib/newlib.hin
@@ -34,6 +34,10 @@
* sections. */
#undef HAVE_INITFINI_ARRAY
+/* True if atexit() may dynamically allocate space for cleanup
+ functions. */
+#undef _ATEXIT_DYNAMIC_ALLOC
+
/* Define if the compiler supports aliasing an array to an address. */
#undef _HAVE_ARRAY_ALIASING
/*