commit | adfcb9731755d6150275bb1729e4501e07f7a4f7 | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Thu Apr 23 13:47:39 2015 -0700 |
committer | Dimitry Ivanov <dimitry@google.com> | Thu Apr 23 22:54:25 2015 +0000 |
tree | 16dd461a8bc5733c0c7c4381957ea22d75c4c65e | |
parent | dc405b5230c3d72107b57798a2c23b1a46069f4d [diff] |
Exit normally when packing relocs saves no space. Bug: http://b/18051137 Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0
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 @@ if (hole_size <= 0) { LOG(INFO) << "Packing relocations saves no space"; - return false; + return true; } size_t data_padding_bytes = is_padding_relocations_ ?