Home | History | Annotate | Download | only in src

Lines Matching full:sh_entsize

616   if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT))
654 for (size_t cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
1012 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt)
1030 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize)
1042 inner < shdr->sh_size / shdr->sh_entsize;
1082 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize)
1094 inner < shdr->sh_size / shdr->sh_entsize;
1190 if (shdr->sh_entsize != gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT))
1226 for (size_t j = 0; j < dynshdr->sh_size / dynshdr->sh_entsize; ++j)
1413 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
1463 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
1566 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT))
1576 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
1851 if (shdr->sh_entsize != sizeof (Elf32_Word))
1857 && (shdr->sh_size / shdr->sh_entsize
1858 < symshdr->sh_size / symshdr->sh_entsize))
1917 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize)
1921 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize));
1927 size_t symsize = symshdr->sh_size / symshdr->sh_entsize;
1929 if (nchain > symshdr->sh_size / symshdr->sh_entsize)
1958 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize)
1962 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize));
1968 size_t symsize = symshdr->sh_size / symshdr->sh_entsize;
1970 if (nchain > symshdr->sh_size / symshdr->sh_entsize)
2028 maxidx = MIN (maxidx, symshdr->sh_size / symshdr->sh_entsize);
2119 && symidx > symshdr->sh_size / symshdr->sh_entsize)
2161 if (shdr->sh_entsize != (tag == SHT_GNU_HASH
2173 if (shdr->sh_size < (tag == SHT_GNU_HASH ? 4 : 2) * (shdr->sh_entsize ?: 4))
2239 int nentries = sym_shdr->sh_size / sym_shdr->sh_entsize;
2262 if (hash_shdr->sh_entsize == sizeof (Elf32_Word))
2404 && shdr->sh_entsize != elf32_fsize (ELF_T_WORD, 1, EV_CURRENT))
2575 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize; ++i)
2587 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize; ++i)
2685 if (shdr->sh_size / shdr->sh_entsize
2686 != symshdr->sh_size / symshdr->sh_entsize)
2697 for (int cnt = 1; (size_t) cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
2785 for (size_t j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
3395 if (shdr->sh_entsize != 0)
3560 if (shdr->sh_entsize != 0 && shdr->sh_size % shdr->sh_entsize)
3629 if ((shdr->sh_flags & SHF_MERGE) != 0 && shdr->sh_entsize == 0)