print null values in bss


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31349 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index aa465cc..96341c5 100644
--- a/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -303,8 +303,10 @@
         break;
       }
 
-      assert (!C->isNullValue());
-      SwitchToDataSection(".data", I);
+      if (C->isNullValue())
+        SwitchToDataSection(".bss",  I);
+      else
+        SwitchToDataSection(".data", I);
 
       EmitAlignment(Align, I);
       O << "\t.type " << name << ", %object\n";