PATCH: Fix DLL constructors on OpenBSD
Alexandre Julliard
julliard at winehq.org
Fri Jan 2 13:18:41 CST 2004
wiml at underhill.hhhh.org (Wim Lewis) writes:
> Use the GCC attribute((constructor)) syntax for DLL initializer hooks
> if possible, instead of the inline-asm syntax.
The dll init routine needs to be in the .init section in order to be
called first, attribute((constructor)) is not good enough. Why doesn't
it work on OpenBSD? Is the section name different?
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list