mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
%progbits not @progbits
llvm-svn: 32376
This commit is contained in:
parent
069149765d
commit
620b3430c8
@ -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 {
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user