diff options
author | Andreas Gampe <agampe@google.com> | 2015-01-14 15:45:59 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-01-15 11:32:48 -0800 |
commit | 57b34294758e9c00993913ebe43c7ee4698a5cc6 (patch) | |
tree | 981821619027686f83fbe00445299b0522f1df05 /patchoat | |
parent | 4945bfef00ac446d9c5458e55500229d463ab4c3 (diff) | |
download | art-57b34294758e9c00993913ebe43c7ee4698a5cc6.zip art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.gz art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.bz2 |
ART: Allow to compile interpret-only mips64 files
Include enough infrastructure to allow cross-compiling for mips64,
interpret-only. This includes the instruction-set-features, frame
size info and utils assembler.
Also add a disassembler for oatdump, and support in patchoat.
Note: the runtime cannot run mips64, yet.
Change-Id: Id106581fa76b478984741c62a8a03be0f370d992
Diffstat (limited to 'patchoat')
-rw-r--r-- | patchoat/patchoat.cc | 2 |
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; } |