Bug 778167 - Fix the offset of OS X libraries. r=bgirard.

This commit is contained in:
Rafael Ávila de Espíndola 2012-07-30 11:06:37 -04:00
parent 15948adb1f
commit 584c37691a

View File

@ -65,7 +65,7 @@ void addSharedLibrary(const platform_mach_header* header, char *name, SharedLibr
if (!strcmp(seg->segname, "__TEXT")) {
size = seg->vmsize;
unsigned long long start = reinterpret_cast<unsigned long long>(header);
info.AddSharedLibrary(SharedLibrary(start, start+seg->vmsize, seg->vmsize, name));
info.AddSharedLibrary(SharedLibrary(start, start+seg->vmsize, 0, name));
return;
}
}