diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetAsmInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index bcee8703faf..da95eaeb319 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp @@ -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", |

