Lines Matching refs:sh_rawptr
128 PE_READ32(hdr, sh->sh_rawptr); in libpe_parse_section_headers()
163 sh->sh_rawptr = dd->dd_e[i].de_addr; /* FIXME */ in libpe_parse_section_headers()
178 sh->sh_rawptr = ch->ch_symptr; in libpe_parse_section_headers()
208 if (lseek(pe->pe_fd, (off_t) sh->sh_rawptr, SEEK_SET) < 0) { in libpe_load_section()
284 if (off > sh->sh_rawptr) { in libpe_load_all_sections()
288 if (off < sh->sh_rawptr) { in libpe_load_all_sections()
289 r = sh->sh_rawptr - off; in libpe_load_all_sections()
389 if (off != sh->sh_rawptr) in libpe_resync_sections()
406 sh->sh_rawptr = 0; in libpe_resync_sections()
408 sh->sh_rawptr = off; in libpe_resync_sections()
447 PE_WRITE32(hdr, sh->sh_rawptr); in libpe_write_section_headers()
483 if (sh->sh_rawptr == 0 || sh->sh_rawsize == 0) in libpe_write_sections()
491 assert(off <= sh->sh_rawptr); in libpe_write_sections()
492 if (off < sh->sh_rawptr) in libpe_write_sections()
493 libpe_pad(pe, sh->sh_rawptr - off); in libpe_write_sections()
498 (off_t) (sh->sh_rawptr + sh->sh_rawsize), in libpe_write_sections()
503 off = sh->sh_rawptr + sh->sh_rawsize; in libpe_write_sections()
507 off = sh->sh_rawptr; in libpe_write_sections()