mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
As PR1085 was fixed, back out workaround
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
43ebbcde00
commit
d5f317d158
@ -80,12 +80,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
|
||||
X86SharedAsmPrinter::decorateName(CurrentFnName, F);
|
||||
|
||||
// Change GNU linkonce to LLVM linkonce name
|
||||
if (F->hasSection() &&
|
||||
(F->getSection().find(".gnu.linkonce.t") != std::string::npos))
|
||||
SwitchToTextSection(getSectionForFunction(*F).c_str(), NULL);
|
||||
else
|
||||
SwitchToTextSection(getSectionForFunction(*F).c_str(), F);
|
||||
SwitchToTextSection(getSectionForFunction(*F).c_str(), F);
|
||||
|
||||
switch (F->getLinkage()) {
|
||||
default: assert(0 && "Unknown linkage type!");
|
||||
|
Loading…
Reference in New Issue
Block a user