Home | History | Annotate | Download | only in util

Lines Matching defs:e_machine

251         int e_machine = readHalf();
252 if (e_machine != EM_386 && e_machine != EM_X86_64 &&
253 e_machine != EM_AARCH64 && e_machine != EM_ARM &&
254 e_machine != EM_MIPS &&
255 e_machine != EM_QDSP6) {
256 throw new IOException("Invalid ELF e_machine: " + e_machine + ": " + mPath);
260 if ((e_machine == EM_386 && elfClass != ELFCLASS32) ||
261 (e_machine == EM_X86_64 && elfClass != ELFCLASS64) ||
262 (e_machine == EM_AARCH64 && elfClass != ELFCLASS64) ||
263 (e_machine == EM_ARM && elfClass != ELFCLASS32) ||
264 (e_machine == EM_QDSP6 && elfClass != ELFCLASS32)) {
265 throw new IOException("Invalid e_machine/EI_CLASS ELF combination: " +
266 e_machine + "/" + elfClass + ": " + mPath);