Changed handling of atexit functions. They are now called when the program
commit3092a1983aff69058debd89f08066cc0424a1819
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 15 Aug 2009 21:47:29 +0000 (15 21:47 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 15 Aug 2009 21:47:29 +0000 (15 21:47 +0000)
treee1f35ba9ad11edb635e65d83dda73c4ffc3eddc6
parentac7ce5837f595d3d85a8d55a719097b6a3c1ebe4
Changed handling of atexit functions. They are now called when the program
exits, not when the opencount becomes 0. (This should fix the problems with
YAM on exit).
This change has update the autoinit code in libarosc.a. Code compiled with
a previous version of libarosc.a will behave as before.
Version of library has been increased to 42. Code compiled with the new version
of ilbarosc.a will not run with V41 of arosc.library. (Programs would crash
anyway).

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@31708 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/clib/__arosc_privdata.h
compiler/clib/__arosc_startup.c [new file with mode: 0644]
compiler/clib/__exitfunc.c
compiler/clib/__exitfunc.h
compiler/clib/arosc_autoinit.c
compiler/clib/arosc_init.c
compiler/clib/include/sys/arosc.h
compiler/clib/include/sys/syscall.def
compiler/clib/mmakefile.src