projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
43ebbcd
)
As PR1085 was fixed, back out workaround
author
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 7 Jan 2007 00:41:20 +0000
(
00:41
+0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 7 Jan 2007 00:41:20 +0000
(
00:41
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32969
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ATTAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ATTAsmPrinter.cpp
b/lib/Target/X86/X86ATTAsmPrinter.cpp
index d71bc784df5199fa860dc2f75b9a4438f7cacae6..ccc2965064de8d2ecbf318720153319e161ab203 100755
(executable)
--- 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!");