Home
last modified time | relevance | path

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

/third_party/libbpf/src/
H A Dlibbpf.c651 int text_shndx; member
890 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
3840 obj->efile.text_shndx = idx;
3950 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx) argument
3956 if (sym->st_shndx != text_shndx)
4377 return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1;
4483 /* text_shndx can be 0, if no default "main" program exists */
4484 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) {
4512 if (sym_is_subprog(sym, obj->efile.text_shndx)) {
6744 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_id
[all...]

Completed in 13 milliseconds