Alpha: Get section directives right
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 5 Aug 2009 13:59:57 +0000 (13:59 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 5 Aug 2009 13:59:57 +0000 (13:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78189 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelLowering.cpp

index a5eeca702646cb6beea48f7e6b35d442137d8a48..f3f90cf6c327e0d30b741a0222d358375e8ff5ee 100644 (file)
@@ -36,11 +36,11 @@ class TargetLoweringObjectFileAlpha : public TargetLoweringObjectFile {
 public:
   void Initialize(MCContext &Ctx, const TargetMachine &TM) {
     TargetLoweringObjectFile::Initialize(Ctx, TM);
-    TextSection = getOrCreateSection("_text", true, 
+    TextSection = getOrCreateSection(".text", true, 
                                      SectionKind::getText());
-    DataSection = getOrCreateSection("_data", true, 
+    DataSection = getOrCreateSection(".data", true, 
                                      SectionKind::getDataRel());
-    ReadOnlySection = getOrCreateSection("_rodata", true, 
+    ReadOnlySection = getOrCreateSection(".rodata", true, 
                                          SectionKind::getReadOnly());
   }
 };