mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
macho: increase pre-allocated vmsize for __TEXT_ZIG segment
This commit is contained in:
parent
737b581681
commit
777e722b06
@ -3230,7 +3230,7 @@ fn initMetadata(self: *MachO, options: InitMetadataOptions) !void {
|
||||
self.zig_text_seg_index = try self.addSegment("__TEXT_ZIG", .{
|
||||
.fileoff = off,
|
||||
.filesize = filesize,
|
||||
.vmaddr = base_vmaddr + 0x8000000,
|
||||
.vmaddr = base_vmaddr + 0x4000000,
|
||||
.vmsize = filesize,
|
||||
.prot = macho.PROT.READ | macho.PROT.EXEC,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user