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:
parent
1f2680f5f3
commit
5acf1510fb
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue