From e2ac49d3d7c6445c07467e2a4d271d5664f83830 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 2 Jul 2013 21:30:57 +0000 Subject: 2013-07-02 Joey Ye 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. --- newlib/README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'newlib/README') diff --git a/newlib/README b/newlib/README index d1753fcc9..a8aba991c 100644 --- a/newlib/README +++ b/newlib/README @@ -361,6 +361,11 @@ One feature can be enabled by specifying `--enable-FEATURE=yes' or Disable newlib from supplying syscalls. Enabled by default. +`--enable-lite-exit' + Enable lite exit, a size-reduced implementation of exit that doesn't + invoke clean-up functions such as _fini or global destructors. + Disabled by default. + Running the Testsuite ===================== -- cgit v1.2.3