From be889b05122269af938ed0a2962bb4d019a830cd Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 14 Mar 2021 15:09:12 +0900 Subject: [PATCH] wip --- output_chunks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output_chunks.cc b/output_chunks.cc index 8761aa26..a928adf6 100644 --- a/output_chunks.cc +++ b/output_chunks.cc @@ -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;