Lines Matching refs:sh_entsize
442 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) in adjust_relocs()
453 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) in adjust_relocs()
479 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs()
480 const size_t onent = shdr->sh_size / shdr->sh_entsize; in adjust_relocs()
512 switch (shdr->sh_entsize) in adjust_relocs()
534 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs()
535 const size_t onent = shdr->sh_size / shdr->sh_entsize; in adjust_relocs()
552 data->d_size = nent * shdr->sh_entsize; in adjust_relocs()
596 const size_t nsym = shdr->sh_size / shdr->sh_entsize; in add_new_section_symbols()
600 shdr->sh_size += added * shdr->sh_entsize; in add_new_section_symbols()
1082 COPY (sh_entsize); in find_alloc_sections_prelink()
1170 && sec->shdr.sh_entsize == undo_sec->shdr.sh_entsize in find_alloc_sections_prelink()
1176 && ((sec->shdr.sh_entsize == undo_sec->shdr.sh_entsize in find_alloc_sections_prelink()
1182 && RELA_SCALED (sh_entsize) && RELA_SCALED (sh_size)) in find_alloc_sections_prelink()
1183 || (sec->shdr.sh_entsize == undo_sec->shdr.sh_entsize in find_alloc_sections_prelink()
1603 for (size_t i = 1; i < shdr_mem.sh_size / shdr_mem.sh_entsize; ++i) in copy_elided_sections()
1654 / stripped_symtab->shdr.sh_entsize)); in copy_elided_sections()
1659 const size_t unstripped_nsym = shdr->sh_size / shdr->sh_entsize; in copy_elided_sections()
1798 shdr->sh_size = symdata->d_size = (1 + nsym) * shdr->sh_entsize; in copy_elided_sections()