summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-01 21:48:25 +0000
committerChris Lattner <sabre@nondot.org>2009-08-01 21:48:25 +0000
commitbc3d5f5db058ed9c186fcd623ff3e5d1b6b3b9ff (patch)
tree508539840742131b5730ed87d0d5ee242cbb13b4 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent26fb277f92c7c11d518c17b82115f5c161a58857 (diff)
downloadbcm5719-llvm-bc3d5f5db058ed9c186fcd623ff3e5d1b6b3b9ff.tar.gz
bcm5719-llvm-bc3d5f5db058ed9c186fcd623ff3e5d1b6b3b9ff.zip
coff doesn't set a .bss seciton, so this is dead.
llvm-svn: 77813
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index 7e071f4d5a7..089143a024c 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp
@@ -675,9 +675,6 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
if (Kind.isText())
return getTextSection();
- if (Kind.isBSS() && BSSSection_ != 0)
- return BSSSection_;
-
if (Kind.isReadOnly() && ReadOnlySection != 0)
return ReadOnlySection;
OpenPOWER on IntegriCloud