From: Bill Wendling Date: Sun, 20 Sep 2009 02:27:06 +0000 (+0000) Subject: Still one more thing wrong here... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d5a831bfad4ec72b15c2cb6f6e894a1bd6e726a;p=oota-llvm.git Still one more thing wrong here... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82356 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index b49164aa177..3202c4ce469 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -782,8 +782,13 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx, } // Exception Handling. +#if 0 LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0, SectionKind::getReadOnly()); +#else + LSDASection = getMachOSection("__DATA", "__gcc_except_tab", 0, + SectionKind::getDataRel()); +#endif EHFrameSection = getMachOSection("__TEXT", "__eh_frame", MCSectionMachO::S_COALESCED |