Lines Matching full:ehdr
732 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)_hdr;
752 phdr = (Elf32_Phdr *)(_hdr + ehdr->e_phoff);
756 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt, ++phdr) {
872 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)header;
873 Elf32_Phdr *phdr = (Elf32_Phdr *)((unsigned char *)header + ehdr->e_phoff);
890 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt, ++phdr) {
1043 get_wr_offset(int fd, const char *name, Elf32_Ehdr *ehdr)
1047 int shdr_sz = ehdr->e_shnum * sizeof(Elf32_Shdr);
1052 ehdr->e_shoff & (~PAGE_MASK));
1059 for(cnt = 0, shdr = shdr_start; cnt < ehdr->e_shnum; ++cnt, ++shdr) {