summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
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
commit4b384b02947411ca0757945b1343e22466b8d820 (patch)
tree39fcfc785a0ab5275679e01995058dd2bf76175a /llvm/lib/Target/TargetLoweringObjectFile.cpp
parentcf11886f1ed4731454b03e548034e3118c339a2b (diff)
downloadbcm5719-llvm-4b384b02947411ca0757945b1343e22466b8d820.tar.gz
bcm5719-llvm-4b384b02947411ca0757945b1343e22466b8d820.zip
The "ReadOnlyWithRel" enum seems to apply more to what Darwin does with the EH
exception table than DataRel. llvm-svn: 89279
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index e36e453a83d..6fdbc92036d 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/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 |
OpenPOWER on IntegriCloud