diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-27 16:42:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 16:42:14 +0000 |
commit | 647017758843bd9b079253443f14ac56985c6a4d (patch) | |
tree | 3103822d32ffaf63ef1048d553eb2f6f86ff5959 /lib/Target/Alpha/AlphaTargetAsmInfo.cpp | |
parent | 752aa7d2fe9af9d1bbd027f563e861f854bd40fa (diff) |
Apparently alpha doesn't use ElfTargetAsmInfo (?)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaTargetAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp index 6499552242..12fadfb542 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); } |