diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2015-04-23 13:47:39 -0700 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2015-04-23 22:54:25 +0000 |
commit | adfcb9731755d6150275bb1729e4501e07f7a4f7 (patch) | |
tree | 16dd461a8bc5733c0c7c4381957ea22d75c4c65e /tools | |
parent | dc405b5230c3d72107b57798a2c23b1a46069f4d (diff) | |
download | bionic-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.cc | 2 |
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_ ? |