Lines Matching refs:text_shndx
727 int text_shndx;
1032 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) {
4246 obj->efile.text_shndx = idx;
4372 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx)
4378 if (sym->st_shndx != text_shndx)
4792 return prog->sec_idx == obj->efile.text_shndx;
4939 /* text_shndx can be 0, if no default "main" program exists */
4940 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) {
4964 if (sym_is_subprog(sym, obj->efile.text_shndx)) {
7366 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_idx);
7425 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sec_insn_off);
8487 !sym_is_subprog(sym, obj->efile.text_shndx)) {