Lines Matching refs:sh_size
420 newshdr->sh_size = data->d_size; in update_sh_size()
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()
481 assert (data->d_size == shdr->sh_size); 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()
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()
606 symdata->d_size = shdr->sh_size; in add_new_section_symbols()
927 && (sections[i].shdr.sh_size == shdr->sh_size in sections_match()
928 || (sections[i].shdr.sh_size < shdr->sh_size in sections_match()
1078 COPY (sh_size); in find_alloc_sections_prelink()
1171 && (sec->shdr.sh_size == undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1172 || (sec->shdr.sh_size > undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1175 || (sec->shdr.sh_size == undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1182 && RELA_SCALED (sh_entsize) && RELA_SCALED (sh_size)) in find_alloc_sections_prelink()
1187 && sec->shdr.sh_size <= undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1190 && (sec->shdr.sh_size == undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1269 shdr->sh_size = strtab_data->d_size; in new_shstrtab()
1556 shdr_mem.sh_size = sec->shdr.sh_size; in copy_elided_sections()
1590 ? 0 : shdr_mem.sh_size)); in copy_elided_sections()
1603 for (size_t i = 1; i < shdr_mem.sh_size / shdr_mem.sh_entsize; ++i) in copy_elided_sections()
1653 : (stripped_symtab->shdr.sh_size 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()
1910 offset += shdr->sh_size; in copy_elided_sections()