Lines Matching refs:sh_offset
142 GET_SHDR_FIELD(ei, str_soff, &shdr, sh_offset); in elf_w()
144 if (shdr.sh_offset + shdr.sh_size > size) { in elf_w()
146 (unsigned long) (shdr.sh_offset + shdr.sh_size), in elf_w()
151 Debug (16, "strtab=0x%lx\n", (long) shdr.sh_offset); in elf_w()
152 *offset = shdr.sh_offset; in elf_w()
181 GET_SHDR_FIELD(ei, shdr_offset, &shdr, sh_offset); in elf_w()
185 Debug (16, "symtab=0x%lx[%d]\n", (long) shdr.sh_offset, shdr.sh_type); in elf_w()
188 unw_word_t symtab_end = shdr.sh_offset + shdr.sh_size; in elf_w()
189 for (sym_offset = shdr.sh_offset; in elf_w()
298 if (str_shdr->sh_offset + str_shdr->sh_size > ei->u.mapped.size) { in elf_w()
300 (unsigned long) (str_shdr->sh_offset + str_shdr->sh_size), in elf_w()
305 Debug (16, "strtab=0x%lx\n", (long) str_shdr->sh_offset); in elf_w()
306 return (char*) ((uintptr_t) ei->u.mapped.image + str_shdr->sh_offset); in elf_w()
325 Elf_W(Sym)* symtab = (Elf_W(Sym) *) ((char *) ei->u.mapped.image + shdr->sh_offset); in elf_w()
333 Debug (16, "symtab=0x%lx[%d]\n", (long) shdr->sh_offset, shdr->sh_type); in elf_w()
496 if (shdr->sh_offset + shdr->sh_size > ei->size) { in elf_w()
498 (unsigned long) shdr->sh_offset + shdr->sh_size, in elf_w()
504 (unsigned long) shdr->sh_offset); in elf_w()
505 compressed = ((uint8_t *) ei->image) + shdr->sh_offset; in elf_w()