summaryrefslogtreecommitdiffstats
path: root/oatdump
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-08-01 19:04:18 +0100
committerVladimir Marko <vmarko@google.com>2014-09-25 18:56:34 +0100
commitf4da675bbc4615c5f854c81964cac9dd1153baea (patch)
treeea78bafc7ee543e11e7bd824ab40d5f5f3d82f9d /oatdump
parentf2476d524281c6d649f5deb6d1ccccc92380c1ed (diff)
downloadart-f4da675bbc4615c5f854c81964cac9dd1153baea.zip
art-f4da675bbc4615c5f854c81964cac9dd1153baea.tar.gz
art-f4da675bbc4615c5f854c81964cac9dd1153baea.tar.bz2
Implement method calls using relative BL on ARM.
Store the linker patches with each CompiledMethod instead of keeping them in CompilerDriver. Reorganize oat file creation to apply the patches as we're writing the method code. Add framework for platform-specific relative call patches in the OatWriter. Implement relative call patches for ARM. Change-Id: Ie2effb3d92b61ac8f356140eba09dc37d62290f8
Diffstat (limited to 'oatdump')
-rw-r--r--oatdump/oatdump.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc
index 888f2d2..d5e766f 100644
--- a/oatdump/oatdump.cc
+++ b/oatdump/oatdump.cc
@@ -315,6 +315,11 @@ class OatSymbolizer : public CodeOutput {
}
}
+ // Set oat data offset. Required by ElfBuilder/CodeOutput.
+ void SetCodeOffset(size_t offset) {
+ // Nothing to do.
+ }
+
// Write oat code. Required by ElfBuilder/CodeOutput.
bool Write(OutputStream* out) {
return out->WriteFully(oat_file_->Begin(), oat_file_->End() - oat_file_->Begin());