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 makefiles: Generate dependencies for static libraries. 2016-02-23 19:38:37 +09:00
casemap.c tools: Update to Unicode 11.0.0. 2018-07-03 12:01:40 +02:00
collation.c libwine: Update the character tables to Unicode 5.2. 2010-05-06 19:25:04 +02:00
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 libwine: Set a non-null entry for the GDT selector to make sure it's properly reserved. 2017-04-21 18:55:17 +02:00
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 libwine: Don't include backwards compatibility functions on Android. 2016-03-14 19:28:51 +09:00
sortkey.c libwine: Generate the composition tables access code along with the tables. 2016-02-19 11:38:14 +09:00
string.c libwine: strtoulW and strtolW should set errno to ERANGE if an overflow will occur. 2016-02-23 20:22:21 +09:00
wctype.c tools: Update to Unicode 11.0.0. 2018-07-03 12:01:40 +02:00
wine.def libwine: Do not export any of the LDT support on non-i386 platforms. 2009-12-30 18:05:02 +01:00
wine.map libwine: Export functions that return the Wine version number and build id. 2008-03-26 23:38:36 +01:00