[PATCH] kernel32: force 4096 byte page alignment

Damjan Jovanovic damjan.jov at gmail.com
Fri Nov 13 19:11:06 CST 2020


On Fri, Nov 13, 2020 at 10:45 PM Alexandre Julliard <julliard at winehq.org>
wrote:

> Damjan Jovanovic <damjan.jov at gmail.com> writes:
>
> > Maybe Wine already loads kernel32.dll(.so) at the right base address,
> > after 55ba3648379d90642f174e74809b84130d6d1ddc and
> > e0138c4a6a7a87f1d25badd43e05490e706bc666 fixed mmap() usage on
> > FreeBSD, and/or other recent commits?
>
> winegcc passes that flag already, so the patch should make no difference.
>
>
And has done so since wine-1.9.7:

commit e59395208d527d1bffb2725efc85fb798aee7610
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar 28 15:47:19 2016 +0900

    makefiles: Reduce the maximum page size for modules that have a base
address.

    It avoid bumping into the next allocated base address on 64-bit.

    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201114/73f574cc/attachment-0001.htm>


More information about the wine-devel mailing list