Changes in directory llvm/lib/Target/ARM:

ARMAsmPrinter.cpp updated: 1.38 -> 1.39
---
Log message:

.align is in bits
.comm is in bytes
:-(



---
Diffs of the changes:  (+1 -1)

 ARMAsmPrinter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.38 
llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.39
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.38  Fri Dec  8 16:06:02 2006
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp       Sat Dec  9 20:53:14 2006
@@ -303,7 +303,7 @@
         O << "\t.local " << name << "\n";
 
       O << "\t.comm " << name << "," << Size
-        << "," << (unsigned)Align;
+        << "," << (unsigned) (1 << Align);
       O << "\n";
     } else {
       switch (I->getLinkage()) {



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

Reply via email to