Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c603 int text_shndx; member
826 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
3416 obj->efile.text_shndx = idx; in bpf_object__elf_collect()
3489 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) in sym_is_subprog() argument
3495 if (sym->st_shndx != text_shndx) in sym_is_subprog()
3898 return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; in prog_is_subprog()
4005 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { in bpf_program__record_reloc()
4029 if (sym_is_subprog(sym, obj->efile.text_shndx)) { in bpf_program__record_reloc()
6146 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_idx); in bpf_object__reloc_code()