Lines Matching refs:ehdr2
177 GElf_Ehdr *ehdr2 = gelf_getehdr (elf2, &ehdr2_mem); in main() local
178 if (ehdr2 == NULL) in main()
192 if (unlikely (memcmp (ehdr1->e_ident, ehdr2->e_ident, EI_NIDENT) != 0 in main()
193 || ehdr1->e_type != ehdr2->e_type in main()
194 || ehdr1->e_machine != ehdr2->e_machine in main()
195 || ehdr1->e_version != ehdr2->e_version in main()
196 || ehdr1->e_entry != ehdr2->e_entry in main()
197 || ehdr1->e_phoff != ehdr2->e_phoff in main()
198 || ehdr1->e_flags != ehdr2->e_flags in main()
199 || ehdr1->e_ehsize != ehdr2->e_ehsize in main()
200 || ehdr1->e_phentsize != ehdr2->e_phentsize in main()
201 || ehdr1->e_phnum != ehdr2->e_phnum in main()
202 || ehdr1->e_shentsize != ehdr2->e_shentsize)) in main()
269 sname2 = elf_strptr (elf2, ehdr2->e_shstrndx, shdr2->sh_name); in main()
272 && ebl_section_strip_p (ebl2, ehdr2, shdr2, sname2, true, false)); in main()