[llvm-commits] [llvm] r78189 - /llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed Aug 5 07:00:47 PDT 2009


Author: alenhar2
Date: Wed Aug  5 08:59:57 2009
New Revision: 78189

URL: http://llvm.org/viewvc/llvm-project?rev=78189&view=rev
Log:
Alpha: Get section directives right

Modified:
    llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp

Modified: llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp?rev=78189&r1=78188&r2=78189&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp Wed Aug  5 08:59:57 2009
@@ -36,11 +36,11 @@
 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());
   }
 };





More information about the llvm-commits mailing list