Lines Matching refs:shoff
327 off_t rc, phoff, shoff;
351 shoff = (uint64_t) eh32->e_shoff;
358 shoff = eh64->e_shoff;
457 if (rc > shoff) {
462 if (shoff % align) {
467 shoff = roundup(rc, align);
469 rc = shoff + fsz * shnum;
471 shoff = 0;
487 eh32->e_shoff = (uint32_t) shoff;
490 eh64->e_shoff = (uint64_t) shoff;
625 uint64_t phoff, shoff;
654 shoff = (uint64_t) eh32->e_shoff;
660 shoff = eh64->e_shoff;
735 if (shnum != 0 && shoff != 0) {
736 assert((unsigned) rc <= shoff);
738 if ((uint64_t) rc < shoff)
740 LIBELF_PRIVATE(fillchar), shoff - rc);
742 rc = shoff;