summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-04-23 22:55:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-23 22:55:34 +0000
commit41ebceaf3ad392b4a3f40d96d5750d95ef206546 (patch)
tree9068329e0b760be9050db6c6e5e4c12d47a0d37f
parente3ecedd306ec16ecb31c6b7d6f9fdcb65c03b70f (diff)
parentadfcb9731755d6150275bb1729e4501e07f7a4f7 (diff)
downloadbionic-41ebceaf3ad392b4a3f40d96d5750d95ef206546.zip
bionic-41ebceaf3ad392b4a3f40d96d5750d95ef206546.tar.gz
bionic-41ebceaf3ad392b4a3f40d96d5750d95ef206546.tar.bz2
Merge "Exit normally when packing relocs saves no space."
-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_ ?