Lines Matching refs:text_shndx
624 int text_shndx;
847 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) {
3496 obj->efile.text_shndx = idx;
3575 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx)
3581 if (sym->st_shndx != text_shndx)
3993 return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1;
4099 /* text_shndx can be 0, if no default "main" program exists */
4100 if (!shdr_idx || shdr_idx != obj->efile.text_shndx) {
4124 if (sym_is_subprog(sym, obj->efile.text_shndx)) {
6307 subprog = find_prog_by_sec_insn(obj, obj->efile.text_shndx, sub_insn_idx);