Searched refs:sh_align (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/elftoolchain/libelf/ |
H A D | elf_data.c | 45 uint64_t sh_align, sh_offset, sh_size, raw_size; in elf_getdata() local 82 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_getdata() 87 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_getdata() 138 d->d_data.d_align = sh_align; in elf_getdata() 221 uint64_t sh_align, sh_offset, sh_size, raw_size; in elf_rawdata() local 246 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_rawdata() 251 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_rawdata() 272 d->d_data.d_align = sh_align; in elf_rawdata()
|
H A D | elf_update.c | 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() [all …]
|