From 647017758843bd9b079253443f14ac56985c6a4d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Jul 2009 16:42:14 +0000 Subject: [PATCH] Apparently alpha doesn't use ElfTargetAsmInfo (?) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77202 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaTargetAsmInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.34.1