1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-29 11:24:36 +03:00
This commit is contained in:
Rui Ueyama 2021-03-11 21:40:02 +09:00
parent f1691a34ca
commit cdd83a1265

View File

@ -453,6 +453,8 @@ void GotSection::add_got_symbol(Symbol *sym) {
sym->got_idx = shdr.sh_size / GOT_SIZE;
shdr.sh_size += GOT_SIZE;
got_syms.push_back(sym);
if (sym->is_imported)
out::dynsym->add_symbol(sym);
}