X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FDarwinTargetAsmInfo.cpp;fp=lib%2FTarget%2FDarwinTargetAsmInfo.cpp;h=5429e659268020f625637a4d46981a6de658f13b;hb=92ef3f66c19687a78d9e49a47958201d8abf9ee2;hp=244b689a552e377cc8714733b70cd357497d0b60;hpb=c3ee7960d9485d20b790091def10c64ee7e75554;p=oota-llvm.git diff --git a/lib/Target/DarwinTargetAsmInfo.cpp b/lib/Target/DarwinTargetAsmInfo.cpp index 244b689a552..5429e659268 100644 --- a/lib/Target/DarwinTargetAsmInfo.cpp +++ b/lib/Target/DarwinTargetAsmInfo.cpp @@ -27,6 +27,8 @@ using namespace llvm; DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM) : TargetAsmInfo(TM) { + TextSection = getOrCreateSection("\t.text", true, SectionKind::Text); + DataSection = getOrCreateSection("\t.data", true, SectionKind::DataRel); CStringSection_ = getOrCreateSection("\t.cstring", true, SectionKind::MergeableCString); @@ -50,7 +52,6 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM) SectionKind::ReadOnlyWithRel); DataCoalSection = getOrCreateSection("\t__DATA,__datacoal_nt,coalesced", false, SectionKind::DataRel); - // Common settings for all Darwin targets. // Syntax: