summaryrefslogtreecommitdiff
path: root/runtime/elf_file_impl.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-03-17 12:41:14 +0000
committer Vladimir Marko <vmarko@google.com> 2021-03-17 15:56:46 +0000
commite3ca16f035ca100bad8225d5dc2cf9ccd1090a41 (patch)
treea0a89a9beff32c7e2a357690f98c9be72238592e /runtime/elf_file_impl.h
parent375257870bae0f9fc66f99b69a2b1e519c170c1c (diff)
Do not use absolute addresses in image test oat files.
We have not been using oat files with absolute addresses for a long time, except that we forgot to remove code that creates such files for image tests (gtests). Remove that code now as well as related code including code that deals with obsolete `oat_patches` sections. Test: m test-art-host-gtest Change-Id: If3e752f01c453e2a2628ac82c3a990c68047610e
Diffstat (limited to 'runtime/elf_file_impl.h')
-rw-r--r--runtime/elf_file_impl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/elf_file_impl.h b/runtime/elf_file_impl.h
index 9900c76e40..ba02d622c5 100644
--- a/runtime/elf_file_impl.h
+++ b/runtime/elf_file_impl.h
@@ -119,17 +119,6 @@ class ElfFileImpl {
/*inout*/MemMap* reservation,
/*out*/std::string* error_msg);
- bool Fixup(Elf_Addr base_address);
- bool FixupDynamic(Elf_Addr base_address);
- bool FixupSectionHeaders(Elf_Addr base_address);
- bool FixupProgramHeaders(Elf_Addr base_address);
- bool FixupSymbols(Elf_Addr base_address, bool dynamic);
- bool FixupRelocations(Elf_Addr base_address);
- bool FixupDebugSections(Elf_Addr base_address_delta);
- bool ApplyOatPatchesTo(const char* target_section_name, Elf_Addr base_address_delta);
- static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
- uint8_t* to_patch, const uint8_t* to_patch_end);
-
bool Strip(File* file, std::string* error_msg);
private: