mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-15 07:33:18 +00:00
%progbits not @progbits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f7761e5c39
commit
0ec729ef2d
@ -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…
x
Reference in New Issue
Block a user