aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ELFTargetAsmInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ELFTargetAsmInfo.cpp b/lib/Target/ELFTargetAsmInfo.cpp
index cf4e3a2f14..b5babed817 100644
--- a/lib/Target/ELFTargetAsmInfo.cpp
+++ b/lib/Target/ELFTargetAsmInfo.cpp
@@ -160,8 +160,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