aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-11-19 00:09:14 +0000
committerBill Wendling <isanbard@gmail.com>2009-11-19 00:09:14 +0000
commit01c69374b508bad0ee71cd3c49414a325238e29a (patch)
tree20607af79db56ecf91bf942bf7885099022996bb /lib/Target
parentb80077aae9fe51af78e6e25e26d09bf8efcd8244 (diff)
downloadexternal_llvm-01c69374b508bad0ee71cd3c49414a325238e29a.zip
external_llvm-01c69374b508bad0ee71cd3c49414a325238e29a.tar.gz
external_llvm-01c69374b508bad0ee71cd3c49414a325238e29a.tar.bz2
The "ReadOnlyWithRel" enum seems to apply more to what Darwin does with the EH
exception table than DataRel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index e36e453..6fdbc92 100644
--- a/lib/Target/TargetLoweringObjectFile.cpp
+++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -784,7 +784,7 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
// Exception Handling.
LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
- SectionKind::getDataRel());
+ SectionKind::getReadOnlyWithRel());
EHFrameSection =
getMachOSection("__TEXT", "__eh_frame",
MCSectionMachO::S_COALESCED |