summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-04-23 13:47:39 -0700
committerDimitry Ivanov <dimitry@google.com>2015-04-23 22:54:25 +0000
commitadfcb9731755d6150275bb1729e4501e07f7a4f7 (patch)
tree16dd461a8bc5733c0c7c4381957ea22d75c4c65e /tools
parentdc405b5230c3d72107b57798a2c23b1a46069f4d (diff)
downloadbionic-adfcb9731755d6150275bb1729e4501e07f7a4f7.zip
bionic-adfcb9731755d6150275bb1729e4501e07f7a4f7.tar.gz
bionic-adfcb9731755d6150275bb1729e4501e07f7a4f7.tar.bz2
Exit normally when packing relocs saves no space.
Bug: http://b/18051137 Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0
Diffstat (limited to 'tools')
-rw-r--r--tools/relocation_packer/src/elf_file.cc2
1 files changed, 1 insertions, 1 deletions
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<ELF>::PackTypedRelocations(std::vector<typename ELF::Rela>* relocat
if (hole_size <= 0) {
LOG(INFO) << "Packing relocations saves no space";
- return false;
+ return true;
}
size_t data_padding_bytes = is_padding_relocations_ ?