diff options
-rw-r--r-- | lib/Target/Alpha/AlphaISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 001723a2fa..73fab21294 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)); } }; } |