summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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_ ?