set the ELF "small" flag on objects that end up in .rodata.cst4 consistently,
updating a mips testcase to expect it.
llvm-svn: 76707
diff --git a/llvm/lib/Target/ELFTargetAsmInfo.cpp b/llvm/lib/Target/ELFTargetAsmInfo.cpp
index e33ae42..fe006a3 100644
--- a/llvm/lib/Target/ELFTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ELFTargetAsmInfo.cpp
@@ -157,7 +157,8 @@
if (SecName)
return getNamedSection(SecName,
- SectionFlags::setEntitySize(SectionFlags::Mergeable,
+ SectionFlags::setEntitySize(SectionFlags::Mergeable|
+ SectionFlags::Small,
Size));
return getReadOnlySection(); // .rodata