mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
elf: setting offset to maxInt for non-allocated non-incremental sections is bad
This commit is contained in:
parent
80b73e3e8f
commit
8c748d5fd7
@ -251,7 +251,6 @@ fn initOutputSection(self: Object, elf_file: *Elf, shdr: ElfShdr) error{OutOfMem
|
||||
.type = @"type",
|
||||
.flags = flags,
|
||||
.name = name,
|
||||
.offset = std.math.maxInt(u64),
|
||||
});
|
||||
return out_shndx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user