OSDN Git Service

Check the machine type of an ELF file when loading.
authorAndreas Gampe <agampe@google.com>
Fri, 4 Apr 2014 00:50:24 +0000 (17:50 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 4 Apr 2014 22:06:33 +0000 (22:06 +0000)
commit91268c1afd6c0d4fad55b7c86d907233d4660205
tree618c0488c3ced26275e7117a6c8dddedcbc835a1
parente5893f8fb70c58fe9950c1fc8b1023e32ca34637
Check the machine type of an ELF file when loading.

This ensures that we reject wrong target ELF files,
and should result in a recompile for the right
target.

Change-Id: I898dddc4f2bb9b1607a7436083d0ba7619b6007b
dex2oat/dex2oat.cc
runtime/elf_file.cc
runtime/instruction_set.h