mirror of
https://github.com/rui314/mold.git
synced 2024-10-05 09:07:10 +03:00
temporary
This commit is contained in:
parent
19c645fb94
commit
97a09fbe80
@ -126,6 +126,11 @@ void InputSection::scan_relocations() {
|
||||
if (!sym->file || !sym->file->is_alive)
|
||||
continue;
|
||||
|
||||
if (sym->file->is_dso && set_flag(sym, Symbol::NEEDS_DYNSYM)) {
|
||||
sym->file->dynsym_size += sizeof(ELF64LE::Sym);
|
||||
sym->file->dynstr_size += sym->name.size() + 1;
|
||||
}
|
||||
|
||||
switch (rel.getType(false)) {
|
||||
case R_X86_64_GOT32:
|
||||
case R_X86_64_GOT64:
|
||||
|
Loading…
Reference in New Issue
Block a user