Exit normally when packing relocs saves no space.
Bug: http://b/18051137 Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0
This commit is contained in:
parent
dc405b5230
commit
adfcb97317
@ -666,7 +666,7 @@ bool ElfFile<ELF>::PackTypedRelocations(std::vector<typename ELF::Rela>* relocat
|
|||||||
|
|
||||||
if (hole_size <= 0) {
|
if (hole_size <= 0) {
|
||||||
LOG(INFO) << "Packing relocations saves no space";
|
LOG(INFO) << "Packing relocations saves no space";
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t data_padding_bytes = is_padding_relocations_ ?
|
size_t data_padding_bytes = is_padding_relocations_ ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user