Fwd: Re: [putty]Winelib support + patch

Dan Kegel dank at kegel.com
Tue Dec 3 03:16:30 CST 2002


Alexandre Julliard wrote:
> Francois Gouget <fgouget at free.fr> writes:
> 
>> I am not sure but I suspect the compiler generates indirect accesses for
>> these. I'm not sure what gcc does for variables exported from another
>> library. It seems like it has to be doing something similar. So if we
>> could get access to that indirection we may be able to make things work.
> 
> Yes, it would be possible to resolve imports directly through the ELF
> tables and avoid our own separate import mechanism; basically this
> would be a PE-aware ld.so. It's quite a bit of work though, and
> portability is an issue. In any case it's for after 1.0 IMO.

Portability to NetBSD shouldn't be an issue, as
they seem to have already implemented it :-)  See
http://chiharu.haun.org/peace/
http://groups.google.com/groups?selm=20020516061929.5DA943C110%40gabi-n.hauN.org   et seq.
http://www.freebsd.org/cgi/man.cgi?query=compat_pecoff&manpath=NetBSD+1.6

- Dan




More information about the wine-devel mailing list