Lines Matching refs:sh_size
429 newshdr->sh_size = data->d_size; in update_sh_size()
460 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) in adjust_relocs()
475 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) in adjust_relocs()
506 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs()
507 const size_t onent = shdr->sh_size / shdr->sh_entsize; in adjust_relocs()
508 if (data->d_size != shdr->sh_size) in adjust_relocs()
567 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs()
568 const size_t onent = shdr->sh_size / shdr->sh_entsize; in adjust_relocs()
635 const size_t nsym = shdr->sh_size / shdr->sh_entsize; in add_new_section_symbols()
639 shdr->sh_size += added * shdr->sh_entsize; in add_new_section_symbols()
645 symdata->d_size = shdr->sh_size; in add_new_section_symbols()
764 if (shdr1->sh_size < shdr2->sh_size) in compare_unalloc_sections()
766 if (shdr1->sh_size > shdr2->sh_size) in compare_unalloc_sections()
985 && (sections[i].shdr.sh_size == shdr->sh_size in sections_match()
986 || (sections[i].shdr.sh_size < shdr->sh_size in sections_match()
1191 COPY (sh_size); in find_alloc_sections_prelink()
1275 && (sec->shdr.sh_size == undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1276 || (sec->shdr.sh_size > undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1279 || (sec->shdr.sh_size == undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1286 && RELA_SCALED (sh_entsize) && RELA_SCALED (sh_size)) in find_alloc_sections_prelink()
1291 && sec->shdr.sh_size <= undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1294 && (sec->shdr.sh_size == undo_sec->shdr.sh_size in find_alloc_sections_prelink()
1376 shdr->sh_size = strtab_data->d_size; in new_shstrtab()
1675 shdr_mem.sh_size = sec->shdr.sh_size; in copy_elided_sections()
1726 ? 0 : shdr_mem.sh_size)); in copy_elided_sections()
1742 for (size_t i = 1; i < shdr_mem.sh_size / shdr_mem.sh_entsize; ++i) in copy_elided_sections()
1786 for (size_t i = 1; i < shdr_mem.sh_size / sizeof (Elf32_Word); ++i) in copy_elided_sections()
1806 : (stripped_symtab->shdr.sh_size in copy_elided_sections()
1817 const size_t unstripped_nsym = shdr->sh_size / shdr->sh_entsize; in copy_elided_sections()
1958 shdr->sh_size = symdata->d_size = (1 + nsym) * shdr->sh_entsize; in copy_elided_sections()
2074 offset += shdr->sh_size; in copy_elided_sections()