diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 001723a2fa7..73fab21294a 100644 --- a/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/lib/Target/Alpha/AlphaISelLowering.cpp @@ -40,6 +40,8 @@ public: SectionKind::get(SectionKind::Text)); DataSection = getOrCreateSection("_data", true, SectionKind::get(SectionKind::DataRel)); + ReadOnlySection = getOrCreateSection("_rodata", true, + SectionKind::get(SectionKind::ReadOnly)); } }; }