summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/elf_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler_llvm/elf_loader.h')
-rw-r--r--src/compiler_llvm/elf_loader.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler_llvm/elf_loader.h b/src/compiler_llvm/elf_loader.h
index 5c8063a253..9e8137f7e6 100644
--- a/src/compiler_llvm/elf_loader.h
+++ b/src/compiler_llvm/elf_loader.h
@@ -19,6 +19,7 @@
#include "elf_image.h"
#include "globals.h"
+#include "oat_file.h"
#include "object.h"
#include <android/librsloader.h>
@@ -35,7 +36,10 @@ class ElfLoader {
public:
~ElfLoader();
- bool LoadElfAt(size_t elf_idx, const ElfImage& elf_image);
+ bool LoadElfAt(size_t elf_idx, const ElfImage& elf_image,
+ OatFile::RelocationBehavior reloc);
+
+ void RelocateExecutable();
const void* GetMethodCodeAddr(size_t elf_idx, const Method* method) const;