As Dmitry K. wrote:

> Corrections are needed:

Spasibo bolshoye, Dmitry!  I've probably been too tired last night to
really catch the differences between exit and _exit in these source
files.  I completely reverted the change, and re-opened the bug
tracker item.  That way, the correct place to fix this is IMHO
libgcc.a itself.  I attached a suggested patch for libgcc.a to the
patch tracker, and assigned it to Anatoly since he's got GCC commit
privs.

Btw., since we are differentiating between exit and _exit (which the C
standard calles _Exit), this would open room for an implementation of
atexit().  According to the standard, abort() ought to be implemented
in terms of "raise(SIGABRT)" which, of course, opens another can of
worms (<signal.h>).

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to