Lines Matching refs:sh_align
121 uint64_t sh_align, sh_entsize, sh_offset, sh_size; in _libelf_compute_section_extents() local
129 sh_align = (uint64_t) shdr32->sh_addralign; in _libelf_compute_section_extents()
135 sh_align = shdr64->sh_addralign; in _libelf_compute_section_extents()
149 if (sh_align == 0) in _libelf_compute_section_extents()
150 sh_align = _libelf_falign(elftype, ec); in _libelf_compute_section_extents()
279 if (scn_alignment > sh_align || in _libelf_compute_section_extents()
280 sh_offset % sh_align || in _libelf_compute_section_extents()
295 if (scn_alignment > sh_align) in _libelf_compute_section_extents()
296 sh_align = scn_alignment; in _libelf_compute_section_extents()
316 sh_offset = roundup((uint64_t) rc, sh_align); in _libelf_compute_section_extents()
322 shdr32->sh_addralign = (uint32_t) sh_align; in _libelf_compute_section_extents()
327 shdr64->sh_addralign = sh_align; in _libelf_compute_section_extents()