summaryrefslogtreecommitdiff
path: root/patchoat/patchoat.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-01-15 19:34:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-01-15 19:34:26 +0000
commit0223a19fa4fc39ba89de2b87b03b98a5fd97778b (patch)
tree0d1fdc9eb33ba27ec5fcb784ac8fee794936d8ce /patchoat/patchoat.cc
parent726078d229fdb2857f3d8794fa50783f571cb7a2 (diff)
parent57b34294758e9c00993913ebe43c7ee4698a5cc6 (diff)
Merge "ART: Allow to compile interpret-only mips64 files"
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r--patchoat/patchoat.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc
index 28f966826b..6c86c7b7a5 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;
}