[PATCH] New configuration option for lite exit
Ye Joey
joey.ye.cc@gmail.com
Tue May 28 10:12:00 GMT 2013
On Sat, Apr 27, 2013 at 7:18 PM, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
>
> Hello,
>
> why can't you use _exit() or _Exit()?
>
> http://pubs.opengroup.org/onlinepubs/009695399/functions/exit.html
Sebastian, Corinna,
This patch makes calls to expensive clean up functions as weak
reference, so one can still keep original functionality by explicitly
pull-in symbols. Comparing to simply skipping them to _exit or _Exit,
this approach is more flexible and testing friendly. In another word,
user can still get a full functional libc even if it is built with
--enable-lite-exit.
Please let me know if you still have concerns.
- Joey Ye
More information about the Newlib
mailing list