projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6470177
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77203
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetAsmInfo.cpp
b/lib/Target/TargetAsmInfo.cpp
index de333a81d181c64ad97724a0d21e735608fbe7f0..ce905effa79726b442599438aec1c79cdddcc10d 100644
(file)
--- 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() {