fix binding reporting for WEAK symbols (#7555)

This commit is contained in:
armijnhemel 2017-05-21 22:04:35 +02:00 committed by radare
parent 6c9e4cbb4f
commit 114b266830

View File

@ -2397,6 +2397,7 @@ static void fill_symbol_bind_and_type (struct r_bin_elf_symbol_t *ret, Elf_(Sym)
switch (ELF_ST_BIND(sym->st_info)) {
case STB_LOCAL: s_bind ("LOCAL"); break;
case STB_GLOBAL: s_bind ("GLOBAL"); break;
case STB_WEAK: s_bind ("WEAK"); break;
case STB_NUM: s_bind ("NUM"); break;
case STB_LOOS: s_bind ("LOOS"); break;
case STB_HIOS: s_bind ("HIOS"); break;