mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
elf: make .text.zig bigger now that jump table is part of it
This commit is contained in:
parent
afaec5c3e4
commit
39ee346681
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue