Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 17:29:01 +0200
From:      Damjan Jovanovic <damjan.jov@gmail.com>
To:        freebsd-emulation@freebsd.org, freebsd-hackers@freebsd.org,  tijl@coosemans.org
Subject:   [patch] Wine DLL base address patches
Message-ID:  <CAJm2B-mtXqZn0nQH4B9=fYik9gxSM8KAD5QcrLeqDOjXEnYfmg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJm2B-mtXqZn0nQH4B9=fYik9gxSM8KAD5QcrLeqDOjXEnYfmg>