Merge "Exit normally when packing relocs saves no space."
This commit is contained in:
commit
41ebceaf3a
@ -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…
Reference in New Issue
Block a user