From: Chris Lattner Date: Mon, 27 Jul 2009 16:42:14 +0000 (+0000) Subject: Apparently alpha doesn't use ElfTargetAsmInfo (?) X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=647017758843bd9b079253443f14ac56985c6a4d;p=oota-llvm.git Apparently alpha doesn't use ElfTargetAsmInfo (?) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77202 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp index 64995522422..12fadfb5423 100644 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp +++ b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp @@ -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); }