summaryrefslogtreecommitdiffstats
path: root/compiler/elf_writer.h
diff options
context:
space:
mode:
authorTong Shen <endlessroad@google.com>2014-09-03 17:24:56 -0700
committerTong Shen <endlessroad@google.com>2014-10-03 11:25:11 -0700
commit62d1ca3182a6cbb921799825f43ad36821233fd7 (patch)
tree54d9663f5ce10f41e95fe774d4e4841c1a78bbc3 /compiler/elf_writer.h
parent63462448ca4e377074a10a4720aa22f71154dbe9 (diff)
downloadart-62d1ca3182a6cbb921799825f43ad36821233fd7.zip
art-62d1ca3182a6cbb921799825f43ad36821233fd7.tar.gz
art-62d1ca3182a6cbb921799825f43ad36821233fd7.tar.bz2
ART: Prepare for ELF64.
Only expose necessary interface in ElfFile, and move all details into template class ElfFileImpl. Change-Id: I9df2bbc55f32ba0ba91f4f3d5d0009e84a2ddf74
Diffstat (limited to 'compiler/elf_writer.h')
-rw-r--r--compiler/elf_writer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/elf_writer.h b/compiler/elf_writer.h
index 03b965a..033c1f8 100644
--- a/compiler/elf_writer.h
+++ b/compiler/elf_writer.h
@@ -42,7 +42,9 @@ class ElfWriter {
size_t& oat_data_offset);
// Returns runtime oat_data runtime address for an opened ElfFile.
- static uint32_t GetOatDataAddress(ElfFile* elf_file);
+ static uintptr_t GetOatDataAddress(ElfFile* elf_file);
+
+ static bool Fixup(File* file, uintptr_t oat_data_begin);
protected:
ElfWriter(const CompilerDriver& driver, File* elf_file)