Bug fix: need to use .reserve for uninitialized data.

llvm-svn: 1205
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp
index 6c7ebaa..3d35ecc 100644
--- a/llvm/lib/Target/Sparc/EmitAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp
@@ -438,7 +438,7 @@
       if (! CPP->isNullValue())
         assert(0 && "Cannot yet print non-null pointer constants to assembly");
       else
-        toAsm << (void*) NULL;
+        toAsm << (void*) NULL << endl;
     }
   else if (ConstPoolPointerRef* CPRef = dyn_cast<ConstPoolPointerRef>(CV))
     {
@@ -464,11 +464,10 @@
   if (GV->hasInitializer())
     printConstant(GV->getInitializer(), getID(GV));
   else {
-    toAsm << "\t.align" << TypeToAlignment(GV->getType()->getValueType(), Target)
-          << getID(GV) << ":" << endl;
-    
-    toAsm << "\t.type" << "\t" << getID(GV) << ",#object" << endl;
-    toAsm << "\t.size" << "\t" << getID(GV) << ","
+    toAsm << "\t.align\t"
+          << TypeToAlignment(GV->getType()->getValueType(), Target) << endl;
+    toAsm << "\t.type\t" << getID(GV) << ",#object" << endl;
+    toAsm << "\t.reserve\t" << getID(GV) << ","
           << TypeToSize(GV->getType()->getValueType(), Target)
           << endl;
   }