Lines Matching defs:st_shndx
443 /* Check for a bogus st_shndx to avoid crashing. */
444 && isym->st_shndx < elf_numsections (abfd)
445 && !(isym->st_shndx >= SHN_LORESERVE && isym->st_shndx <= SHN_HIRESERVE))
447 iname = elf_elfsections (abfd)[isym->st_shndx]->sh_name;
2303 if ((isym.st_shndx != SHN_UNDEF && isym.st_shndx < SHN_LORESERVE)
2304 || isym.st_shndx > SHN_HIRESERVE)
2307 s = bfd_section_from_elf_index (abfd, isym.st_shndx);
6228 shndx = isym->internal_elf_sym.st_shndx;
6239 osym->internal_elf_sym.st_shndx = shndx;
6322 sym.st_shndx = SHN_UNDEF;
6374 sym.st_shndx = _bfd_elf_section_from_bfd_section
6396 && type_ptr->internal_elf_sym.st_shndx != 0)
6401 shndx = type_ptr->internal_elf_sym.st_shndx;
6455 sym.st_shndx = shndx;
8889 unsigned int st_shndx;
8910 return s1->st_shndx - s2->st_shndx;
8934 if (isymbuf[i].st_shndx != SHN_UNDEF)
8944 if (ind[0]->st_shndx != ind[1]->st_shndx)
8958 ssymbuf->st_shndx = 0;
8961 if (ind == indbuf || ssymhead->st_shndx != (*ind)->st_shndx)
8966 ssymhead->st_shndx = (*ind)->st_shndx;
9084 if ((unsigned int) shndx1 < ssymbuf1[mid].st_shndx)
9086 else if ((unsigned int) shndx1 > ssymbuf1[mid].st_shndx)
9103 if ((unsigned int) shndx2 < ssymbuf2[mid].st_shndx)
9105 else if ((unsigned int) shndx2 > ssymbuf2[mid].st_shndx)
9168 if (isym->st_shndx == (unsigned int) shndx1)
9173 if (isym->st_shndx == (unsigned int) shndx2)