diff options
| author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-01-19 17:33:22 +0000 |
|---|---|---|
| committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-01-19 17:33:22 +0000 |
| commit | 75aaf1fa6aed6f0b3ab5fb1afea54bbb8b8596eb (patch) | |
| tree | 42255ed41302d66140b3f8c4500bed7448f5f758 /llvm/lib/Target | |
| parent | 3e956974b3cf704dc1dca125e5e626110cb747fd (diff) | |
| download | bcm5719-llvm-75aaf1fa6aed6f0b3ab5fb1afea54bbb8b8596eb.tar.gz bcm5719-llvm-75aaf1fa6aed6f0b3ab5fb1afea54bbb8b8596eb.zip | |
Fix section definition.
llvm-svn: 33359
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp index a6ceb85cb3c..94f53b70b5c 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp @@ -753,7 +753,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) { << "\t.weak_definition " << name << "\n"; SwitchToDataSection("\t.section __DATA,__const_coal,coalesced", I); } else { - O << "\t.section\t.llvm.linkonce.d." << name << ",\"aw\",@progbits\n" + O << "\t.section\t.llvm.linkonce.d." << name << ",\"aw\",%progbits\n" << "\t.weak " << name << "\n"; } break; @@ -774,7 +774,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) { I->getSection() == ".dtors")) { assert(!Subtarget->isDarwin()); std::string SectionName = ".section " + I->getSection(); - SectionName += ",\"aw\",@progbits"; + SectionName += ",\"aw\",%progbits"; SwitchToDataSection(SectionName.c_str()); } else { SwitchToDataSection(TAI->getDataSection(), I); |

