am 41ebceaf: Merge "Exit normally when packing relocs saves no space."

* commit '41ebceaf3ad392b4a3f40d96d5750d95ef206546':
  Exit normally when packing relocs saves no space.
This commit is contained in:
Dmitriy Ivanov 2015-04-23 23:13:57 +00:00 committed by Android Git Automerger
commit 83ebe0c37b

View File

@ -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_ ?