From 8d5a831bfad4ec72b15c2cb6f6e894a1bd6e726a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 20 Sep 2009 02:27:06 +0000 Subject: [PATCH] Still one more thing wrong here... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82356 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/TargetLoweringObjectFile.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 |