Lines Matching refs:sh_offset
82 uint64_t sh_align, sh_entsize, sh_offset, sh_size;
89 * fields include: `sh_offset', `sh_type', `sh_size', `sh_addralign'.
107 sh_offset = (uint64_t) s->s_shdr.s_shdr32.sh_offset;
113 sh_offset = s->s_shdr.s_shdr64.sh_offset;
121 if ((size_t) *rc < sh_offset + sh_size)
122 *rc = sh_offset + sh_size;
180 if (scn_alignment > sh_align || sh_offset % sh_align ||
205 sh_offset = roundup(*rc, sh_align);
210 s->s_shdr.s_shdr32.sh_offset = (uint32_t) sh_offset;
215 s->s_shdr.s_shdr64.sh_offset = sh_offset;
220 if ((size_t) *rc < sh_offset + sh_size)
221 *rc = sh_offset + sh_size;
224 s->s_offset = sh_offset;