[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp

Lauro Ramos Venancio lauro.venancio at gmail.com
Fri Jan 19 09:33:38 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMAsmPrinter.cpp updated: 1.43 -> 1.44
---
Log message:

Fix section definition.


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

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


Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.43 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.44
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.43	Fri Jan 19 01:51:42 2007
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp	Fri Jan 19 11:33:22 2007
@@ -753,7 +753,7 @@
             << "\t.weak_definition " << name << "\n";
           SwitchToDataSection("\t.section __DATA,__const_coal,coalesced", I);
         } else {
-          O << "\t.section\t.llvm.linkonce.d." << name << ",\"aw\", at progbits\n"
+          O << "\t.section\t.llvm.linkonce.d." << name << ",\"aw\",%progbits\n"
             << "\t.weak " << name << "\n";
         }
         break;
@@ -774,7 +774,7 @@
              I->getSection() == ".dtors")) {
           assert(!Subtarget->isDarwin());
           std::string SectionName = ".section " + I->getSection();
-          SectionName += ",\"aw\", at progbits";
+          SectionName += ",\"aw\",%progbits";
           SwitchToDataSection(SectionName.c_str());
         } else {
           SwitchToDataSection(TAI->getDataSection(), I);






More information about the llvm-commits mailing list