Home | History | Annotate | Download | only in kern

Lines Matching defs:shdr

502 	Elf_Shdr *shdr;
536 shdr = (Elf_Shdr *)((uint8_t *)start + ehdr->e_shoff);
538 if (shdr[i].sh_type != SHT_SYMTAB)
540 if (shdr[i].sh_offset == 0)
542 symstart = (uint8_t *)start + shdr[i].sh_offset;
543 symsize = shdr[i].sh_size;
544 j = shdr[i].sh_link;
545 if (shdr[j].sh_offset == 0)
547 strstart = (uint8_t *)start + shdr[j].sh_offset;
548 strsize = shdr[j].sh_size;
554 shdr = (Elf_Shdr *)((uint8_t *)start + ehdr->e_shoff);
557 shdr[ehdr->e_shstrndx].sh_offset;
560 printf("ksyms: checking %s\n", &shstr[shdr[i].sh_name]);
562 if (shdr[i].sh_type != SHT_PROGBITS)
564 if (strncmp(".SUNW_ctf", &shstr[shdr[i].sh_name], 10)
567 ctfstart = (uint8_t *)start + shdr[i].sh_offset;
568 ctfsize = shdr[i].sh_size;