This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New configuration option for lite exit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]