mirror of
https://github.com/ziglang/zig.git
synced 2026-01-09 08:55:36 +00:00
elf: always override existing __start/__stop symbols
This commit is contained in:
parent
7c2abff1e1
commit
e0acf43248
@ -158,7 +158,6 @@ pub fn initStartStopSymbols(self: *LinkerDefined, elf_file: *Elf) !void {
|
||||
.index = index,
|
||||
.file = self.index,
|
||||
}, elf_file);
|
||||
assert(!gop.found_existing);
|
||||
gop.ref.* = .{ .index = index, .file = self.index };
|
||||
self.symbols_resolver.appendAssumeCapacity(gop.index);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user