mirror of
https://github.com/rui314/mold.git
synced 2024-12-29 11:24:36 +03:00
temporary
This commit is contained in:
parent
f5ca824a11
commit
c195dd43b0
2
main.cc
2
main.cc
@ -516,6 +516,8 @@ int main(int argc, char **argv) {
|
|||||||
std::tie(symtab_off, strtab_off) =
|
std::tie(symtab_off, strtab_off) =
|
||||||
file->write_symtab_local(buf, symtab_off, strtab_off);
|
file->write_symtab_local(buf, symtab_off, strtab_off);
|
||||||
|
|
||||||
|
out::symtab->shdr.sh_info = symtab_off / sizeof(ELF64LE::Sym);
|
||||||
|
|
||||||
for (ObjectFile *file : files)
|
for (ObjectFile *file : files)
|
||||||
std::tie(symtab_off, strtab_off) =
|
std::tie(symtab_off, strtab_off) =
|
||||||
file->write_symtab_global(buf, symtab_off, strtab_off);
|
file->write_symtab_global(buf, symtab_off, strtab_off);
|
||||||
|
Loading…
Reference in New Issue
Block a user