Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c664 int text_shndx; member
896 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
3888 obj->efile.text_shndx = idx; in bpf_object__elf_collect()
3974 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) in sym_is_subprog() argument
3980 if (sym->st_shndx != text_shndx) in sym_is_subprog()
4392 return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; in prog_is_subprog()
4499 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { in bpf_program__record_reloc()
4523 if (sym_is_subprog(sym, obj->efile.text_shndx)) { in bpf_program__record_reloc()
6409 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_idx); in bpf_object__reloc_code()