Lines Matching refs:text_shndx
640 int text_shndx;
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)
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_idx);