Typo
authorAnton Korobeynikov <asl@math.spbu.ru>
Wed, 9 Jul 2008 13:29:27 +0000 (13:29 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Wed, 9 Jul 2008 13:29:27 +0000 (13:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53322 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetAsmInfo.cpp

index bcee8703faf6b95c31a0ea7d3e27fc1dfc0793ea..da95eaeb319dcbf3040309dce10cc7afee4a31fc 100644 (file)
@@ -320,7 +320,7 @@ X86ELFTargetAsmInfo::X86ELFTargetAsmInfo(const X86TargetMachine &TM):
   DataSection_ = getUnnamedSection("\t.data", SectionFlags::Writeable);
   BSSSection_  = getUnnamedSection("\t.bss",
                                    SectionFlags::Writeable | SectionFlags::BSS);
-  ReadOnlySection_ = getUnnamedSection("\t.rodata", SectionFlags::None);
+  ReadOnlySection_ = getNamedSection("\t.rodata", SectionFlags::None);
   TLSDataSection_ = getNamedSection("\t.tdata",
                                     SectionFlags::Writeable | SectionFlags::TLS);
   TLSBSSSection_ = getNamedSection("\t.tbss",