Commit 57616750 authored by 4ast's avatar 4ast Committed by GitHub

Merge pull request #1664 from iovisor/yhs_dev

permit symbol resulotion for function with size 0
parents 91f04f07 5c32691b
...@@ -211,8 +211,6 @@ static int list_in_scn(Elf *e, Elf_Scn *section, size_t stridx, size_t symsize, ...@@ -211,8 +211,6 @@ static int list_in_scn(Elf *e, Elf_Scn *section, size_t stridx, size_t symsize,
continue; continue;
uint32_t st_type = ELF_ST_TYPE(sym.st_info); uint32_t st_type = ELF_ST_TYPE(sym.st_info);
if (sym.st_size == 0 && (st_type == STT_FUNC || st_type == STT_GNU_IFUNC))
continue;
if (!(option->use_symbol_type & (1 << st_type))) if (!(option->use_symbol_type & (1 << st_type)))
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment