summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commitff1f401f9be84723593e22d9df16029a4037a8fa (patch)
tree3f24d07a81250c487350f2b6da2c23a0c9e68f89 /llvm/lib/Target
parente25817a138fdb488e046c7c206a94e089b57294c (diff)
downloadbcm5719-llvm-ff1f401f9be84723593e22d9df16029a4037a8fa.tar.gz
bcm5719-llvm-ff1f401f9be84723593e22d9df16029a4037a8fa.zip
don't create default text/data sections for all targets.
llvm-svn: 77203
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index de333a81d18..ce905effa79 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/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() {
OpenPOWER on IntegriCloud