Lines Matching refs:sh_align
122 uint64_t sh_align, sh_entsize, sh_offset, sh_size; in _libelf_compute_section_extents() local
130 sh_align = (uint64_t) shdr32->sh_addralign; in _libelf_compute_section_extents()
136 sh_align = shdr64->sh_addralign; in _libelf_compute_section_extents()
150 if (sh_align == 0) in _libelf_compute_section_extents()
151 sh_align = _libelf_falign(elftype, ec); in _libelf_compute_section_extents()
280 if (scn_alignment > sh_align || in _libelf_compute_section_extents()
281 sh_offset % sh_align || in _libelf_compute_section_extents()
296 if (scn_alignment > sh_align) in _libelf_compute_section_extents()
297 sh_align = scn_alignment; in _libelf_compute_section_extents()
317 sh_offset = roundup((uint64_t) rc, sh_align); in _libelf_compute_section_extents()
323 shdr32->sh_addralign = (uint32_t) sh_align; in _libelf_compute_section_extents()
328 shdr64->sh_addralign = sh_align; in _libelf_compute_section_extents()