mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
elf: do not panic if we already have create a PLT entry for a symbol
This commit is contained in:
parent
906cf48e14
commit
133aa709b0
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ pub const File = union(enum) {
|
|||
} else if (!sym.flags.has_plt) {
|
||||
log.debug("'{s}' needs PLT", .{sym.name(ef)});
|
||||
try ef.plt.addSymbol(ref, ef);
|
||||
} else unreachable;
|
||||
}
|
||||
}
|
||||
if (sym.flags.needs_copy_rel and !sym.flags.has_copy_rel) {
|
||||
log.debug("'{s}' needs COPYREL", .{sym.name(ef)});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue