OSDN Git Service

ART: Fix 64-bit ELF file support
authorAndreas Gampe <agampe@google.com>
Tue, 7 Apr 2015 23:09:30 +0000 (16:09 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 7 Apr 2015 23:43:08 +0000 (16:43 -0700)
commit3c54b0023fca579aae006dfa607fb14de5846c42
tree7b996231875fdfd54855a9aa86fe2494cdee1ec5
parent425ee0e1103b52bb72132df64f503725d1a15300
ART: Fix 64-bit ELF file support

The API wasn't cross-compile-safe, 32-bit patchoat would fail for
negative delta applied to a 64-bit ELF file.

Add 64-bit ELF file output to the compilers, behind a flag, currently
off by default (preserving current behavior).

Bug: 20095017
Change-Id: I2cde7b4c7cc83413c76692d7b745868d644a604c
compiler/compiler.h
compiler/dex/quick/quick_compiler.cc
compiler/optimizing/optimizing_compiler.cc
runtime/elf_file.cc
runtime/elf_file.h
runtime/elf_file_impl.h