elf: do not panic if we already have create a PLT entry for a symbol
This commit is contained in:
committed by
Andrew Kelley
parent
906cf48e14
commit
133aa709b0
@@ -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)});
|
||||
|
||||
Reference in New Issue
Block a user