diff options
Diffstat (limited to 'compiler/elf_writer_quick.cc')
-rw-r--r-- | compiler/elf_writer_quick.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/elf_writer_quick.cc b/compiler/elf_writer_quick.cc index 0d6575cffd..28c35e96b4 100644 --- a/compiler/elf_writer_quick.cc +++ b/compiler/elf_writer_quick.cc @@ -105,7 +105,6 @@ class ElfWriterQuick FINAL : public ElfWriter { void EndText(OutputStream* text) OVERRIDE; void WriteDynamicSection() OVERRIDE; void WriteDebugInfo(const ArrayRef<const debug::MethodDebugInfo>& method_infos) OVERRIDE; - void WritePatchLocations(const ArrayRef<const uintptr_t>& patch_locations) OVERRIDE; bool End() OVERRIDE; virtual OutputStream* GetStream() OVERRIDE; @@ -268,17 +267,6 @@ void ElfWriterQuick<ElfTypes>::WriteDebugInfo( } template <typename ElfTypes> -void ElfWriterQuick<ElfTypes>::WritePatchLocations( - const ArrayRef<const uintptr_t>& patch_locations) { - // Add relocation section for .text. - if (compiler_options_->GetIncludePatchInformation()) { - // Note that ElfWriter::Fixup will be called regardless and therefore - // we need to include oat_patches for debug sections unconditionally. - builder_->WritePatches(".text.oat_patches", patch_locations); - } -} - -template <typename ElfTypes> bool ElfWriterQuick<ElfTypes>::End() { builder_->End(); if (compiler_options_->GetGenerateBuildId()) { |