Changes in directory llvm/lib/Target/ARM:

ARMAsmPrinter.cpp updated: 1.25 -> 1.26
---
Log message:

print null values in bss


---
Diffs of the changes:  (+4 -2)

 ARMAsmPrinter.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.25 
llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.26
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.25  Thu Oct 19 08:30:40 2006
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp       Wed Nov  1 08:26:44 2006
@@ -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";



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to