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. */
struct module_format* modfmt =
HeapAlloc(GetProcessHeap(), 0, sizeof(struct module_format) + sizeof(struct macho_module_info));
if (!modfmt) goto leave;
+ if (!load_addr)
+ load_addr = fmap.segs_start;
macho_info->module = module_new(pcs, filename, DMT_MACHO, FALSE, load_addr,
fmap.segs_size, 0, calc_crc32(fmap.fd));
if (!macho_info->module)