mirror of
https://github.com/rui314/mold.git
synced 2024-12-29 11:24:36 +03:00
wip
This commit is contained in:
parent
4260435ff7
commit
be889b0512
@ -684,7 +684,7 @@ void DynsymSection::copy_buf() {
|
||||
ElfSym &esym = *(ElfSym *)(base + sym.dynsym_idx * sizeof(ElfSym));
|
||||
memset(&esym, 0, sizeof(esym));
|
||||
esym.st_name = name_indices[i];
|
||||
esym.st_type = sym.esym->st_type;
|
||||
esym.st_type = sym.get_type();
|
||||
esym.st_bind = (sym.is_weak ? STB_WEAK : sym.esym->st_bind);
|
||||
esym.st_size = sym.esym->st_size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user