From bc3d5f5db058ed9c186fcd623ff3e5d1b6b3b9ff Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 1 Aug 2009 21:48:25 +0000 Subject: coff doesn't set a .bss seciton, so this is dead. llvm-svn: 77813 --- llvm/lib/Target/TargetLoweringObjectFile.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp') diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp index 7e071f4..089143a 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; -- cgit v1.1