Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c623 int text_shndx; member
846 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
3495 obj->efile.text_shndx = idx; in bpf_object__elf_collect()
3574 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) in sym_is_subprog() argument
3580 if (sym->st_shndx != text_shndx) in sym_is_subprog()
3992 return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; in prog_is_subprog()
4099 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { in bpf_program__record_reloc()
4123 if (sym_is_subprog(sym, obj->efile.text_shndx)) { in bpf_program__record_reloc()
6301 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_idx); in bpf_object__reloc_code()