Sweden-Number/libs/wine
Chip Davis bdca749f7b libwine: Use getsegmentdata(3) on Mac OS to find the end of the __TEXT segment.
Don't assume it ends with the fake PE header. This assumption doesn't
hold on Mac OS: the __data section where it was placed is located after
several other sections, all in the __DATA segment.

Unfortunately, this causes Wine, when DEP/NX is turned off, to override
the page protections for the start of the __DATA segment, removing write
permission from them, leading to a crash when winemac.drv attempted to
use an Objective-C class for the first time.

Also, be sure to include the zero-fill (i.e. BSS) sections in the total
size of the .data section. This should fix some tests that use large
uninitialized arrays.

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:12:38 +02:00
..
Makefile.in
casemap.c tools: Update to Unicode 11.0.0. 2018-07-03 12:01:40 +02:00
collation.c
config.c libwine: Fall back to the WINELOADER path for the bin directory. 2017-06-26 13:38:00 +02:00
debug.c libwine: Print thread id by default in all traces. 2017-11-25 11:43:11 +01:00
ldt.c
loader.c libwine: Use getsegmentdata(3) on Mac OS to find the end of the __TEXT segment. 2018-08-16 13:12:38 +02:00
mmap.c libwine: Reserve memory areas for ARM64 in case we don't have a preloader. 2017-11-17 10:28:44 +01:00
port.c
sortkey.c
string.c
wctype.c tools: Update to Unicode 11.0.0. 2018-07-03 12:01:40 +02:00
wine.def
wine.map