aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-27 16:44:04 +0000
committerChris Lattner <sabre@nondot.org>2009-07-27 16:44:04 +0000
commitafcb70bc734dab26918c7ede8e4c96818dddf056 (patch)
tree80b612149ef6a45bd4090d5b87f11c59a137ad64
parent647017758843bd9b079253443f14ac56985c6a4d (diff)
don't create default text/data sections for all targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77203 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/TargetAsmInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index de333a81d1..ce905effa7 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -122,8 +122,6 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &tm) : TM(tm) {
DwarfEHFrameSection = ".eh_frame";
DwarfExceptionSection = ".gcc_except_table";
AsmTransCBE = 0;
- TextSection = getOrCreateSection("\t.text", true, SectionKind::Text);
- DataSection = getOrCreateSection("\t.data", true, SectionKind::DataRel);
}
TargetAsmInfo::~TargetAsmInfo() {