[Darwine] Darwin _init and _fini
Status: Pre-Alpha
Brought to you by:
jimwhite
From: Pierre d'H. <ste...@fr...> - 2004-06-17 17:44:41
|
Hi! In fact on darwin _init and _fini are called automatically at start and at end. So calling _init and _fini our wrappers to the functions that call all the .mod_init or .mod_term section is not a good idea. (it causes a double call of the .mod_init functions). In this patch there is also support for darwin .mod_*_func sections for the __wine_dbg_* symbols. Thanks. Pierre PS: This still doesn't make Wine properly working on Mac OS X. I get the following error log: fixme:ntdll:NtQueryVolumeInformationFile device info not properly supported on this platform Warning: the specified Windows directory L"c:\\windows" is not accessible. Warning: the specified System directory L"c:\\windows\\system" is not accessible. environ.c:401: failed assertion `startup_infoA.cb' wine: Unhandled exception (thread 0015), starting debugger... And Emmanuel's previous hack is now not working. Any idea? ChangeLog: Hide the _init and _fini wrappers on darwin. |