Home
last modified time | relevance | path

Searched refs:text_shndx (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c624 int text_shndx; member
847 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
3496 obj->efile.text_shndx = idx; in bpf_object__elf_collect()
3575 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) in sym_is_subprog() argument
3581 if (sym->st_shndx != text_shndx) in sym_is_subprog()
3993 return prog->sec_idx == obj->efile.text_shndx; in prog_is_subprog()
4100 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { in bpf_program__record_reloc()
4124 if (sym_is_subprog(sym, obj->efile.text_shndx)) { in bpf_program__record_reloc()
6307 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_idx); in bpf_object__reloc_code()