From 286326ed24d5f480f02a980543da425eb36b5e89 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 1 Aug 2009 21:49:24 +0000 Subject: [PATCH] coff also doesn't have a ReadOnlySection yet, (!) llvm-svn: 77814 --- llvm/lib/Target/TargetLoweringObjectFile.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp index 089143a..a26bec2 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.isReadOnly() && ReadOnlySection != 0) - return ReadOnlySection; - return getDataSection(); } -- 2.7.4