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 | 471ffaffd86c8bd48e8769c9e0c75553235deba0 (patch) | |
tree | 006d9cf1ede7b88358944a4f026b795951569cb5 | |
parent | 8cd4c3e6534a14566bf163301fd45bca34e655c1 (diff) | |
download | external_llvm-471ffaffd86c8bd48e8769c9e0c75553235deba0.zip external_llvm-471ffaffd86c8bd48e8769c9e0c75553235deba0.tar.gz external_llvm-471ffaffd86c8bd48e8769c9e0c75553235deba0.tar.bz2 |
Fix section definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33359 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index a6ceb85..94f53b7 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/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); |