projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e25817a
)
don't create default text/data sections for all targets.
author
Chris Lattner
<sabre@nondot.org>
Mon, 27 Jul 2009 16:44:04 +0000
(16:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 27 Jul 2009 16:44:04 +0000
(16:44 +0000)
llvm-svn: 77203
llvm/lib/Target/TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/TargetAsmInfo.cpp
b/llvm/lib/Target/TargetAsmInfo.cpp
index
de333a8
..
ce905ef
100644
(file)
--- 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() {