diff --git a/lib/Target/ELFTargetAsmInfo.cpp b/lib/Target/ELFTargetAsmInfo.cpp index fe006a3c607..e33ae423ac1 100644 --- a/lib/Target/ELFTargetAsmInfo.cpp +++ b/lib/Target/ELFTargetAsmInfo.cpp @@ -157,8 +157,7 @@ ELFTargetAsmInfo::getSectionForMergableConstant(uint64_t Size, if (SecName) return getNamedSection(SecName, - SectionFlags::setEntitySize(SectionFlags::Mergeable| - SectionFlags::Small, + SectionFlags::setEntitySize(SectionFlags::Mergeable, Size)); return getReadOnlySection(); // .rodata