Lines Matching defs:text_shndx
651 int text_shndx;
890 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) {
3840 obj->efile.text_shndx = idx;
3950 static bool sym_is_subprog(const Elf64_Sym *sym, int text_shndx)
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_idx);