[ELF] Simplify shouldMerge() result calculation. NFC.

llvm-svn: 272131
This commit is contained in:
George Rimar
2016-06-08 12:04:59 +00:00
parent 56efb34901
commit dcddfb63cd

View File

@@ -179,10 +179,7 @@ template <class ELFT> static bool shouldMerge(const typename ELFT::Shdr &Sec) {
if (Flags & SHF_STRINGS)
return true;
if (Sec.sh_addralign > EntSize)
return false;
return true;
return Sec.sh_addralign <= EntSize;
}
template <class ELFT>