1//===-- llvm/Target/TargetLoweringObjectFile.cpp - Object File Info -------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
--- 769 unchanged lines hidden (view full) ---
778 SectionKind::getDataRel());
779 StaticDtorSection
780 = getMachOSection("__DATA", "__mod_term_func",
781 MCSectionMachO::S_MOD_TERM_FUNC_POINTERS,
782 SectionKind::getDataRel());
783 }
784
785 // Exception Handling.
786 LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
787 SectionKind::getReadOnlyWithRel());
788 EHFrameSection =
789 getMachOSection("__TEXT", "__eh_frame",
790 MCSectionMachO::S_COALESCED |
791 MCSectionMachO::S_ATTR_NO_TOC |
792 MCSectionMachO::S_ATTR_STRIP_STATIC_SYMS |
793 MCSectionMachO::S_ATTR_LIVE_SUPPORT,
794 SectionKind::getReadOnly());
795
--- 295 unchanged lines hidden ---
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
--- 769 unchanged lines hidden (view full) ---
778 SectionKind::getDataRel());
779 StaticDtorSection
780 = getMachOSection("__DATA", "__mod_term_func",
781 MCSectionMachO::S_MOD_TERM_FUNC_POINTERS,
782 SectionKind::getDataRel());
783 }
784
785 // Exception Handling.
786 LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
787 SectionKind::getReadOnlyWithRel());
788 EHFrameSection =
789 getMachOSection("__TEXT", "__eh_frame",
790 MCSectionMachO::S_COALESCED |
791 MCSectionMachO::S_ATTR_NO_TOC |
792 MCSectionMachO::S_ATTR_STRIP_STATIC_SYMS |
793 MCSectionMachO::S_ATTR_LIVE_SUPPORT,
794 SectionKind::getReadOnly());
795
--- 295 unchanged lines hidden ---