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

/linux-master/tools/lib/bpf/
H A Dlibbpf.c640 int text_shndx; member in struct:elf_state
872 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) {
3817 obj->efile.text_shndx = idx;
3903 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) argument
3909 if (sym->st_shndx != text_shndx)
4321 return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1;
4427 /* text_shndx can be 0, if no default "main" program exists */
4428 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) {
4452 if (sym_is_subprog(sym, obj->efile.text_shndx)) {
6324 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_id
[all...]

Completed in 154 milliseconds