Lines Matching refs:shdr0
1037 Elf32_Shdr shdr0; in read_ehdr32() local
1039 if (ehdr->e_shoff == 0 || ehdr->e_shentsize < sizeof (shdr0) || in read_ehdr32()
1040 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != in read_ehdr32()
1041 sizeof (shdr0)) in read_ehdr32()
1044 if (shdr0.sh_info != 0) in read_ehdr32()
1045 *phnum = shdr0.sh_info; in read_ehdr32()
1091 Elf64_Shdr shdr0; in read_ehdr64() local
1093 if (ehdr->e_shoff == 0 || ehdr->e_shentsize < sizeof (shdr0) || in read_ehdr64()
1094 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != in read_ehdr64()
1095 sizeof (shdr0)) in read_ehdr64()
1098 if (shdr0.sh_info != 0) in read_ehdr64()
1099 *phnum = shdr0.sh_info; in read_ehdr64()