From: Chris Lattner Date: Sat, 1 Aug 2009 21:49:24 +0000 (+0000) Subject: coff also doesn't have a ReadOnlySection yet, (!) X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=94dab1e57a435198bf30c9992805a7d101d5c6c6;p=oota-llvm.git coff also doesn't have a ReadOnlySection yet, (!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77814 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index 089143a024c..a26bec2bdf7 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -675,9 +675,6 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, if (Kind.isText()) return getTextSection(); - if (Kind.isReadOnly() && ReadOnlySection != 0) - return ReadOnlySection; - return getDataSection(); }