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)
llvm-svn: 77202

llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp

index 6499552..12fadfb 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);
 }