diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-11-18 23:18:46 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-11-18 23:18:46 +0000 |
commit | ec0445855179d2c9fb98a2c8a42e03525762f45f (patch) | |
tree | b935b1d1c5bae99ab13e8982dd4f10f839a09105 /lib/Target/TargetLoweringObjectFile.cpp | |
parent | 60f34b9fb0323688e93cf347d63b56327d6250f8 (diff) |
Attempt #2:
Place the EH table in the __TEXT section on MachO. It saves space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r-- | lib/Target/TargetLoweringObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index f887523c5b..e36e453a83 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp @@ -783,7 +783,7 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx, } // Exception Handling. - LSDASection = getMachOSection("__DATA", "__gcc_except_tab", 0, + LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0, SectionKind::getDataRel()); EHFrameSection = getMachOSection("__TEXT", "__eh_frame", |