Home | History | Annotate | Download | only in ddb

Lines Matching defs:shp

110 	Elf_Shdr *shp;
160 shp = (Elf_Shdr *)((char *)symtab + elf->e_shoff);
162 if (shp[i].sh_type == SHT_SYMTAB) {
163 if (shp[i].sh_offset == 0)
167 shp[i].sh_offset);
169 shp[i].sh_offset + shp[i].sh_size);
171 j = shp[i].sh_link;
172 if (shp[j].sh_offset == 0)
174 strtab_start = (char *)symtab + shp[j].sh_offset;
175 strtab_end = (char *)symtab + shp[j].sh_offset +
176 shp[j].sh_size;
216 Elf_Shdr *shp = STAB_TO_SHDR(stab, elf);
230 if (shp[i].sh_type == SHT_SYMTAB)
231 return ((char*)elf + shp[shp[i].sh_link].sh_offset);