mirror of
https://github.com/rui314/mold.git
synced 2025-01-03 22:36:34 +03:00
wip
This commit is contained in:
parent
fd6de2d258
commit
6ef025b6d4
@ -878,13 +878,14 @@ void SharedFile::parse() {
|
||||
continue;
|
||||
|
||||
std::string_view name = symbol_strtab.data() + esyms[i].st_name;
|
||||
Symbol *sym = Symbol::intern(name);
|
||||
|
||||
if (esyms[i].is_defined()) {
|
||||
elf_syms.push_back(&esyms[i]);
|
||||
versyms.push_back(vers.empty() ? 1 : vers[i]);
|
||||
symbols.push_back(Symbol::intern(name));
|
||||
symbols.push_back(sym);
|
||||
} else {
|
||||
undefs.push_back(Symbol::intern(name));
|
||||
undefs.push_back(sym);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user