mirror of
https://github.com/rui314/mold.git
synced 2024-12-29 11:24:36 +03:00
wip
This commit is contained in:
parent
f1691a34ca
commit
cdd83a1265
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user