From 874aaaa34a916201f88497e7b61dd52a6c5027ae Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 7 Jan 2007 00:41:20 +0000 Subject: [PATCH] As PR1085 was fixed, back out workaround llvm-svn: 32969 --- lib/Target/X86/X86ATTAsmPrinter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index d71bc784df5..ccc2965064d 100755 --- a/lib/Target/X86/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/X86ATTAsmPrinter.cpp @@ -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!");