Lines Matching refs:sh_offset
144 GET_SHDR_FIELD(ei, str_soff, &shdr, sh_offset); in elf_w()
146 if (shdr.sh_offset + shdr.sh_size > size) { in elf_w()
148 (unsigned long) (shdr.sh_offset + shdr.sh_size), in elf_w()
153 Debug (16, "strtab=0x%lx\n", (long) shdr.sh_offset); in elf_w()
154 *offset = shdr.sh_offset; in elf_w()
183 GET_SHDR_FIELD(ei, shdr_offset, &shdr, sh_offset); in elf_w()
187 Debug (16, "symtab=0x%lx[%d]\n", (long) shdr.sh_offset, shdr.sh_type); in elf_w()
190 unw_word_t symtab_end = shdr.sh_offset + shdr.sh_size; in elf_w()
191 for (sym_offset = shdr.sh_offset; in elf_w()
300 if (str_shdr->sh_offset + str_shdr->sh_size > ei->u.mapped.size) { in elf_w()
302 (unsigned long) (str_shdr->sh_offset + str_shdr->sh_size), in elf_w()
307 Debug (16, "strtab=0x%lx\n", (long) str_shdr->sh_offset); in elf_w()
308 return (char*) ((uintptr_t) ei->u.mapped.image + str_shdr->sh_offset); in elf_w()
327 Elf_W(Sym)* symtab = (Elf_W(Sym) *) ((char *) ei->u.mapped.image + shdr->sh_offset); in elf_w()
335 Debug (16, "symtab=0x%lx[%d]\n", (long) shdr->sh_offset, shdr->sh_type); in elf_w()
542 if (shdr->sh_offset + shdr->sh_size > ei->u.mapped.size) { in elf_w()
544 (unsigned long) (shdr->sh_offset + shdr->sh_size), in elf_w()
548 *section = ((uint8_t *) ei->u.mapped.image) + shdr->sh_offset; in elf_w()