This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin 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]

src/winsup/mingw ChangeLog crt1.c crtdll.def d ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	mingwex
Changes by:	dannysmith@sources.redhat.com	2002-04-25 15:06:15

Modified files:
	winsup/mingw   : ChangeLog crt1.c crtdll.def dllcrt1.c 
	                 msvcrt.def msvcrt20.def msvcrt40.def 

Log message:
	Add atexit support for dlls.
	* crt1.c (atexit): Force thunk to _imp__atexit.
	(_onexit): Force thunk to _imp___onexit.
	* dllcrt1.c (DllMainCRTStartup): Initialise private atexit
	table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
	(__dll_exit): New function to run atexit-registered functions
	and flush output buffers on DLL_PROCESS_DETACH or failed
	DLL_PROCESS_ATTACH.
	(atexit): Force use of private atexit table via _dllonexit,
	(_onexit): New function. Force use of private atexit table via
	_dllonexit,
	* mscvrt.def (atexit, _onexit): Add DATA keyword so that only
	_imp_<_symbol> is visible in import lib.
	* mscvrt20.def: Likewise.
	* mscvrt40.def: Likewise.
	* crtdll.def: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=src&only_with_tag=mingwex&r1=1.49.4.20&r2=1.49.4.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/crt1.c.diff?cvsroot=src&only_with_tag=mingwex&r1=1.1.1.1.40.2&r2=1.1.1.1.40.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/crtdll.def.diff?cvsroot=src&only_with_tag=mingwex&r1=1.1.1.1.40.1&r2=1.1.1.1.40.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/dllcrt1.c.diff?cvsroot=src&only_with_tag=mingwex&r1=1.1.1.1&r2=1.1.1.1.40.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt.def.diff?cvsroot=src&only_with_tag=mingwex&r1=1.1.1.1.40.1&r2=1.1.1.1.40.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt20.def.diff?cvsroot=src&only_with_tag=mingwex&r1=1.1.1.1.40.1&r2=1.1.1.1.40.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt40.def.diff?cvsroot=src&only_with_tag=mingwex&r1=1.1.1.1.40.1&r2=1.1.1.1.40.2


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