summaryrefslogtreecommitdiffstats
path: root/patchoat
diff options
context:
space:
mode:
Diffstat (limited to 'patchoat')
-rw-r--r--patchoat/patchoat.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc
index 28f9668..6c86c7b 100644
--- a/patchoat/patchoat.cc
+++ b/patchoat/patchoat.cc
@@ -62,6 +62,8 @@ static InstructionSet ElfISAToInstructionSet(Elf32_Word isa, Elf32_Word e_flags)
if (((e_flags & EF_MIPS_ARCH) == EF_MIPS_ARCH_32R2) ||
((e_flags & EF_MIPS_ARCH) == EF_MIPS_ARCH_32R6)) {
return kMips;
+ } else if ((e_flags & EF_MIPS_ARCH) == EF_MIPS_ARCH_64R6) {
+ return kMips64;
} else {
return kNone;
}