aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-01-19 17:33:22 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-01-19 17:33:22 +0000
commit471ffaffd86c8bd48e8769c9e0c75553235deba0 (patch)
tree006d9cf1ede7b88358944a4f026b795951569cb5
parent8cd4c3e6534a14566bf163301fd45bca34e655c1 (diff)
downloadexternal_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.cpp4
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);