diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-12-08 22:06:02 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-12-08 22:06:02 +0000 |
commit | 0ec729ef2d0bf7a9563ac2f2666cff37afe8c257 (patch) | |
tree | a88aee3337ae8d59f5a8646def3f07b64369b1f2 | |
parent | f7761e5c3956a8ed8f6a455341dbac86cfbb1699 (diff) |
%progbits not @progbits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32376 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/section.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 3e79712349..fb67ad5135 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -322,7 +322,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) { I->getSection() == ".dtors")) { std::string SectionName = ".section " + I->getSection(); - SectionName += ",\"aw\",@progbits"; + SectionName += ",\"aw\",%progbits"; SwitchToDataSection(SectionName.c_str()); } else { diff --git a/test/CodeGen/ARM/section.ll b/test/CodeGen/ARM/section.ll index 3ddddb00d5..d6bf5362c6 100644 --- a/test/CodeGen/ARM/section.ll +++ b/test/CodeGen/ARM/section.ll @@ -1,5 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "__DTOR_END__:" && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".section .dtors,\"aw\",@progbits" +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".section .dtors,\"aw\",%progbits" %__DTOR_END__ = internal global [1 x int] zeroinitializer, section ".dtors" |