From adfcb9731755d6150275bb1729e4501e07f7a4f7 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Thu, 23 Apr 2015 13:47:39 -0700 Subject: Exit normally when packing relocs saves no space. Bug: http://b/18051137 Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0 --- tools/relocation_packer/src/elf_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/relocation_packer/src/elf_file.cc b/tools/relocation_packer/src/elf_file.cc index 11af9ed..fb74233 100644 --- a/tools/relocation_packer/src/elf_file.cc +++ b/tools/relocation_packer/src/elf_file.cc @@ -666,7 +666,7 @@ bool ElfFile::PackTypedRelocations(std::vector* relocat if (hole_size <= 0) { LOG(INFO) << "Packing relocations saves no space"; - return false; + return true; } size_t data_padding_bytes = is_padding_relocations_ ? -- cgit v1.1