Home
last modified time | relevance | path

Searched refs:ghdr (Results 1 – 2 of 2) sorted by relevance

/scripts/
Drecordmcount.c634 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local
635 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()
Dsorttable.c343 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local
344 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()