Exit normally when packing relocs saves no space.

Bug: http://b/18051137
Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0
This commit is contained in:
Dmitriy Ivanov 2015-04-23 13:47:39 -07:00 committed by Dimitry Ivanov
parent dc405b5230
commit adfcb97317

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