Searched refs:sh_types (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/lib/bpf/ |
H A D | elf.c | 168 int i, sh_types[2] = { SHT_DYNSYM, SHT_SYMTAB }; in elf_find_func_offset() local 191 for (i = 0; i < ARRAY_SIZE(sh_types); i++) { in elf_find_func_offset() 197 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset() 293 int sh_types[2] = { SHT_DYNSYM, SHT_SYMTAB }; in elf_resolve_syms_offsets() local 318 for (i = 0; i < ARRAY_SIZE(sh_types); i++) { in elf_resolve_syms_offsets() 322 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_syms_offsets() 389 int sh_types[2] = { SHT_SYMTAB, SHT_DYNSYM }; in elf_resolve_pattern_offsets() local 399 for (i = 0; i < ARRAY_SIZE(sh_types); i++) { in elf_resolve_pattern_offsets() 403 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()
|