Searched refs:ghdr (Results 1 – 2 of 2) sorted by relevance
634 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local635 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()636 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()641 if (w2(ghdr->e_machine) == EM_S390) { in do_file()645 if (w2(ghdr->e_machine) == EM_MIPS) { in do_file()651 if (w2(ghdr->e_machine) == EM_LOONGARCH) { in do_file()655 if (do64(ghdr, fname, reltype) < 0) in do_file()
343 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local344 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file()345 r2(&ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()351 rc = do_sort_64(ghdr, fname, custom_sort); in do_file()