[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Thu Dec 7 10:34:14 PST 2006
Changes in directory llvm/lib/Target/ARM:
ARMAsmPrinter.cpp updated: 1.33 -> 1.34
---
Log message:
make sure that we don't use a common symbol if a section was specified
---
Diffs of the changes: (+1 -0)
ARMAsmPrinter.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.33 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.34
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.33 Wed Dec 6 11:46:32 2006
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp Thu Dec 7 12:33:58 2006
@@ -296,6 +296,7 @@
unsigned Align = TD->getTypeAlignment(C->getType());
if (C->isNullValue() &&
+ !I->hasSection() &&
(I->hasLinkOnceLinkage() || I->hasInternalLinkage() ||
I->hasWeakLinkage())) {
SwitchToDataSection(".data", I);
More information about the llvm-commits
mailing list