.section cleanup, patch from Nicholas Riley

llvm-svn: 22763
diff --git a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
index 19db819..ea5c469 100644
--- a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
@@ -222,7 +222,7 @@
 
   if (CP.empty()) return;
 
-  SwitchSection(O, "section .rodata");
+  SwitchSection(O, "rodata");
   for (unsigned i = 0, e = CP.size(); i != e; ++i) {
     //    SwitchSection(O, "section .rodata, \"dr\"");
     emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
@@ -252,7 +252,7 @@
   if (CurSection != NewSection) {
     CurSection = NewSection;
     if (!CurSection.empty())
-      OS << "\t." << NewSection << "\n";
+      OS << "\t.section ." << NewSection << "\n";
   }
 }
 
@@ -297,7 +297,7 @@
           // FALL THROUGH
         case GlobalValue::InternalLinkage:
           if (C->isNullValue())
-            SwitchSection(O, "bss"); //was .bss
+            SwitchSection(O, "bss");
           else
             SwitchSection(O, "data");
           break;