mirror of
https://github.com/ziglang/zig.git
synced 2025-12-29 09:33:18 +00:00
elf: make .text.zig bigger now that jump table is part of it
This commit is contained in:
parent
afaec5c3e4
commit
39ee346681
@ -604,7 +604,7 @@ pub fn initMetadata(self: *Elf, options: InitMetadataOptions) !void {
|
||||
.type = elf.PT_LOAD,
|
||||
.offset = off,
|
||||
.filesz = filesz,
|
||||
.addr = if (ptr_bit_width >= 32) 0x8000000 else 0x8000,
|
||||
.addr = if (ptr_bit_width >= 32) 0x4000000 else 0x4000,
|
||||
.memsz = filesz,
|
||||
.@"align" = self.page_size,
|
||||
.flags = elf.PF_X | elf.PF_R | elf.PF_W,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user