Lines Matching refs:shindex
495 unsigned int shindex; in elf_object_p() local
696 for (shdrp = i_shdrp, shindex = 0; shindex < num_sec; shindex++) in elf_object_p()
697 elf_elfsections (abfd)[shindex] = shdrp++; in elf_object_p()
701 for (shindex = 1; shindex < i_ehdrp->e_shnum; shindex++) in elf_object_p()
705 elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex); in elf_object_p()
708 if (i_shdrp[shindex].sh_link >= num_sec) in elf_object_p()
721 if (i_shdrp[shindex].sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ in elf_object_p()
722 || i_shdrp[shindex].sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */) in elf_object_p()
730 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK) in elf_object_p()
731 || i_shdrp[shindex].sh_type == SHT_RELA in elf_object_p()
732 || i_shdrp[shindex].sh_type == SHT_REL) in elf_object_p()
733 && i_shdrp[shindex].sh_info >= num_sec) in elf_object_p()
738 if (i_shdrp[shindex].sh_size != 0 in elf_object_p()
739 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0 in elf_object_p()
740 && i_shdrp[shindex].sh_type != SHT_NOBITS in elf_object_p()
741 && (((i_shdrp[shindex].sh_addr - i_shdrp[shindex].sh_offset) in elf_object_p()
799 for (shindex = 1; shindex < num_sec; shindex++) in elf_object_p()
800 if (!bfd_section_from_shdr (abfd, shindex)) in elf_object_p()