dbghelp: Ignore the __PAGEZERO segment.

It made it seem as though the wineloader always started at address 0.
Issue identified by Jacek Caban.
This commit is contained in:
Ken Thomases 2014-07-07 15:36:14 -05:00 committed by Alexandre Julliard
parent 1f2680f5f3
commit 5acf1510fb
1 changed files with 5 additions and 0 deletions

View File

@ -398,6 +398,11 @@ static int macho_accum_segs_range(struct macho_file_map* fmap,
TRACE("Ignoring special Wine segment %s\n", debugstr_an(sc->segname, sizeof(sc->segname)));
return 0;
}
if (!strncmp(sc->segname, "__PAGEZERO", 10))
{
TRACE("Ignoring __PAGEZERO segment\n");
return 0;
}
/* If this segment starts before previously-known earliest, record
* new earliest. */