Home | History | Annotate | Download | only in util

Lines Matching defs:e_machine

648         int e_machine = readHalf();
649 if (e_machine != EM_386
650 && e_machine != EM_X86_64
651 && e_machine != EM_AARCH64
652 && e_machine != EM_ARM
653 && e_machine != EM_MIPS
654 && e_machine != EM_QDSP6) {
655 throw new IOException("Invalid ELF e_machine: " + e_machine + ": " + mPath);
659 if ((e_machine == EM_386 && elfClass != ELFCLASS32)
660 || (e_machine == EM_X86_64 && elfClass != ELFCLASS64)
661 || (e_machine == EM_AARCH64 && elfClass != ELFCLASS64)
662 || (e_machine == EM_ARM && elfClass != ELFCLASS32)
663 || (e_machine == EM_QDSP6 && elfClass != ELFCLASS32)) {
665 "Invalid e_machine/EI_CLASS ELF combination: "
666 + e_machine