Lines Matching defs:eh
105 patch64(Elf64_Ehdr *eh)
117 if (eh->e_type != ET_EXEC) {
119 pname, fname, eh->e_type);
122 if ((eh->e_phnum == 0) || (eh->e_phoff == 0)) {
131 if ((phdrs = ELFSEEK(eh->e_phoff)) == NULL) {
133 "hdrs\n", pname, fname, eh->e_phnum);
180 for (ndx = 0; ndx < eh->e_phnum; ndx++) {
182 phdr = (Elf64_Phdr *)(phdrs + eh->e_phentsize * ndx);
207 if (eh->e_entry != phdr->p_paddr) {