Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/elftoolchain/dist/libelf/
H A Delf_data.c54 uint64_t sh_align, sh_offset, sh_size, raw_size; in elf_getdata() local
91 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_getdata()
96 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_getdata()
147 d->d_data.d_align = sh_align; in elf_getdata()
230 uint64_t sh_align, sh_offset, sh_size, raw_size; in elf_rawdata() local
255 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_rawdata()
260 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_rawdata()
281 d->d_data.d_align = sh_align; in elf_rawdata()
H A Delf_update.c130 uint64_t sh_align, sh_entsize, sh_offset, sh_size; in _libelf_compute_section_extents() local
138 sh_align = (uint64_t) shdr32->sh_addralign; in _libelf_compute_section_extents()
144 sh_align = shdr64->sh_addralign; in _libelf_compute_section_extents()
158 if (sh_align == 0) in _libelf_compute_section_extents()
159 sh_align = _libelf_falign(elftype, ec); in _libelf_compute_section_extents()
288 if (scn_alignment > sh_align || in _libelf_compute_section_extents()
289 sh_offset % sh_align || in _libelf_compute_section_extents()
304 if (scn_alignment > sh_align) in _libelf_compute_section_extents()
305 sh_align = scn_alignment; in _libelf_compute_section_extents()
325 sh_offset = roundup((uint64_t) rc, sh_align); in _libelf_compute_section_extents()
[all …]