%progbits not @progbits

llvm-svn: 32376
This commit is contained in:
Rafael Espindola 2006-12-08 22:06:02 +00:00
parent 069149765d
commit 620b3430c8
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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"