diff options
Diffstat (limited to 'runtime/elf_file_impl.h')
-rw-r--r-- | runtime/elf_file_impl.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/runtime/elf_file_impl.h b/runtime/elf_file_impl.h index 3ad096f983..0f466bd7b8 100644 --- a/runtime/elf_file_impl.h +++ b/runtime/elf_file_impl.h @@ -119,12 +119,9 @@ class ElfFileImpl { bool FixupProgramHeaders(Elf_Addr base_address); bool FixupSymbols(Elf_Addr base_address, bool dynamic); bool FixupRelocations(Elf_Addr base_address); - bool FixupDebugSections(typename std::make_signed<Elf_Off>::type base_address_delta); - bool ApplyOatPatchesTo(const char* target_section_name, - typename std::make_signed<Elf_Off>::type base_address_delta); - static bool ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, - const char* target_section_name, - typename std::make_signed<Elf_Off>::type delta, + 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(std::string* error_msg); |