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 | ff1f401f9be84723593e22d9df16029a4037a8fa (patch) | |
tree | 3f24d07a81250c487350f2b6da2c23a0c9e68f89 /llvm/lib/Target | |
parent | e25817a138fdb488e046c7c206a94e089b57294c (diff) | |
download | bcm5719-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.cpp | 2 |
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() { |