diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-01-07 00:41:20 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-01-07 00:41:20 +0000 |
commit | d5f317d158be9633e6f279c97a7c4833d50fcc84 (patch) | |
tree | 657fd3875252279b12a9034632a42071bd910de7 | |
parent | 43ebbcde0048ce53319fbd9161714f88d7c00158 (diff) |
As PR1085 was fixed, back out workaround
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32969 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | lib/Target/X86/X86ATTAsmPrinter.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index d71bc784df..ccc2965064 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!"); |