wine-wine/libs
Damjan Jovanovic 55ba364837 libwine: Add support for mmap at fixed start addresses on FreeBSD.
The way to implement MAP_TRYFIXED on FreeBSD is call mmap()
with MAP_FIXED | MAP_EXCL, which will allocate the mapping
from the exact starting address if possible, and if that fails,
call mmap() again without them. This gets PE DLLs loading at
their correct base addresses, and fixes a FreeBSD-specific
problem with Cygwin's fork() caused by cygwin1.dll loading at
different base addresses in the parent and child.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-20 20:50:05 +02:00
..
port libport: Get rid of interlocked functions. 2020-05-02 15:10:19 +02:00
wine libwine: Add support for mmap at fixed start addresses on FreeBSD. 2020-05-20 20:50:05 +02:00
wpp wpp: Standardize the error and warning messages. 2020-04-02 11:42:30 +02:00