diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2013-07-02 21:30:57 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2013-07-02 21:30:57 +0000 |
commit | e2ac49d3d7c6445c07467e2a4d271d5664f83830 (patch) | |
tree | 02ccae3e9d54922004de57e02338c1f4b77098b8 /newlib/newlib.hin | |
parent | a838011d07bd7a1408619b68646d3ced78a4f25e (diff) | |
download | newlib-e2ac49d3d7c6445c07467e2a4d271d5664f83830.zip newlib-e2ac49d3d7c6445c07467e2a4d271d5664f83830.tar.gz newlib-e2ac49d3d7c6445c07467e2a4d271d5664f83830.tar.bz2 |
2013-07-02 Joey Ye <joey.ye@arm.com>
Lite exit support.
* README: Add information about lite-exit.
* acconfig.h (_LITE_EXIT): New macro.
* configure.in (enable-lite-exit): New option.
(_LITE_EXIT): Define new macro.
* configure: Regenerated.
* newlib.hin (_LITE_EXIT): New macro.
* libc/stdlib/__atexit.c [_LITE_EXIT]: Add dummy explicit
reference to __call_exitprocs.
* libc/stdlib/cxa_atexit.c [_LITE_EXIT]: Make __register_exitproc a
weak reference.
* libc/stdlib/exit.c (exit)[_LITE_EXIT]: Remove TWS and weakly reference
__call_exitprocs.
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r-- | newlib/newlib.hin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin index c6637cb..e4f6230 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -70,6 +70,9 @@ /* Define if unbuffered stream file optimization is supported. */ #undef _UNBUF_STREAM_OPT +/* Define if lite version of exit supported. */ +#undef _LITE_EXIT + /* * Iconv encodings enabled ("to" direction) */ |