Apparently alpha doesn't use ElfTargetAsmInfo (?)
authorChris Lattner <sabre@nondot.org>
Mon, 27 Jul 2009 16:42:14 +0000 (16:42 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Jul 2009 16:42:14 +0000 (16:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77202 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaTargetAsmInfo.cpp

index 649955224223b65b9ad47c50e12e3b4adf86ad0a..12fadfb5423d1fcd4ecf3880330bcaf9367d12a3 100644 (file)
@@ -23,4 +23,7 @@ AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM)
   JumpTableDirective = ".gprel32";
   JumpTableDataSection = "\t.section .rodata\n";
   WeakRefDirective = "\t.weak\t";
+    
+  TextSection = getOrCreateSection("_text", true, SectionKind::Text);
+  DataSection = getOrCreateSection("_data", true, SectionKind::DataRel);
 }