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,7 +453,9 @@ void GotSection::add_got_symbol(Symbol *sym) {
|
|||||||
sym->got_idx = shdr.sh_size / GOT_SIZE;
|
sym->got_idx = shdr.sh_size / GOT_SIZE;
|
||||||
shdr.sh_size += GOT_SIZE;
|
shdr.sh_size += GOT_SIZE;
|
||||||
got_syms.push_back(sym);
|
got_syms.push_back(sym);
|
||||||
out::dynsym->add_symbol(sym);
|
|
||||||
|
if (sym->is_imported)
|
||||||
|
out::dynsym->add_symbol(sym);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GotSection::add_gottpoff_symbol(Symbol *sym) {
|
void GotSection::add_gottpoff_symbol(Symbol *sym) {
|
||||||
|
Loading…
Reference in New Issue
Block a user