Lines Matching defs:shp
90 static Elf_Shdr *shp;
176 shp = (Elf_Shdr *)((vaddr_t)elf + elf->e_shoff);
188 if (shp[i].sh_type == SHT_SYMTAB)
191 if (shp[i].sh_type == SHT_SYMTAB ||
192 shp[i].sh_type == SHT_STRTAB) {
194 sz = shp[i].sh_size;
199 shp[i].sh_offset)[sz];
202 maxv += roundup(shp[i].sh_size, sizeof(long));
203 shp[i].sh_offset = off;
204 off += roundup(shp[i].sh_size, sizeof(long));
219 ((char *)shpv)[sz] = ((char *)shp)[sz];