Ulrich Weigand <[EMAIL PROTECTED]> writes: > - Constructor/destructor code used Intel assembly. > I've changed the code to use __attribute__((constructor)) > when compiling with GNU C, which should be portable. It's more portable but it's not correct: at least on i386, constructors are called after the .init section functions. Since we really need the spec file init to run before anything else, it has to be in .init. I don't know what sparc does but I suspect it's the same thing. -- Alexandre Julliard [EMAIL PROTECTED]