diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-27 16:44:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 16:44:04 +0000 |
commit | afcb70bc734dab26918c7ede8e4c96818dddf056 (patch) | |
tree | 80b612149ef6a45bd4090d5b87f11c59a137ad64 | |
parent | 647017758843bd9b079253443f14ac56985c6a4d (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.cpp | 2 |
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() { |