diff options
Diffstat (limited to 'tools/yaml2obj/yaml2elf.cpp')
-rw-r--r-- | tools/yaml2obj/yaml2elf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/yaml2obj/yaml2elf.cpp b/tools/yaml2obj/yaml2elf.cpp index 3ddbe0a..80d21e7 100644 --- a/tools/yaml2obj/yaml2elf.cpp +++ b/tools/yaml2obj/yaml2elf.cpp @@ -166,6 +166,7 @@ static void handleSymtabSectionHeader( zero(Symbol); if (!Sym.Name.empty()) Symbol.st_name = StrTab.addString(Sym.Name); + Symbol.setBindingAndType(Sym.Binding, Sym.Type); Syms.push_back(Symbol); } |