Home
last modified time | relevance | path

Searched refs:sh_align (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/elftoolchain/libelf/
H A Delf_data.c45 uint64_t sh_align, sh_offset, sh_size; in elf_getdata() local
81 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_getdata()
86 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_getdata()
135 d->d_data.d_align = sh_align; in elf_getdata()
218 uint64_t sh_align, sh_offset, sh_size; in elf_rawdata() local
243 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_rawdata()
248 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_rawdata()
268 d->d_data.d_align = sh_align; in elf_rawdata()
H A Delf_update.c130 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()
274 if (scn_alignment > sh_align || in _libelf_compute_section_extents()
275 sh_offset % sh_align || in _libelf_compute_section_extents()
290 if (scn_alignment > sh_align) in _libelf_compute_section_extents()
291 sh_align = scn_alignment; in _libelf_compute_section_extents()
311 sh_offset = roundup((uint64_t) rc, sh_align); in _libelf_compute_section_extents()
317 shdr32->sh_addralign = (uint32_t) sh_align; in _libelf_compute_section_extents()
[all …]