On Fri, Nov 13, 2020 at 10:45 PM Alexandre Julliard julliard@winehq.org wrote:
Damjan Jovanovic damjan.jov@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@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@winehq.org