[patch] Wine DLL base address patches

Damjan Jovanovic damjan.jov at gmail.com
Wed Feb 20 15:29:31 UTC 2013


Hi

Wine needs some of its libraries to be loaded at specific base
addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently
lacks.

I've written a patch to the dynamic loader (/libexec/ld-elf.so.1) that
loads libraries at their preferred base addresses
(http://www.freebsd.org/cgi/query-pr.cgi?pr=176216), as well as a port
of Prelink to FreeBSD which Wine uses to set base addresses
(http://www.freebsd.org/cgi/query-pr.cgi?pr=176283). Both work :-),
the changed dynamic loader doesn't show any problems in a few days of
testing, and prelink works with the --reloc-only option as used by
Wine.

Please review/test/comment/commit.

Thank you
Damjan Jovanovic


More information about the freebsd-hackers mailing list