summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-10 07:39:47 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-10 07:39:47 +0000
commit0a017a6db249cda63852c1561406edd5bc150bcf (patch)
tree16b16da1415f4d340431cc09e67795403b2f235e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent3046b4d72fa98863cc6773cf99426876308ea621 (diff)
downloadbcm5719-llvm-0a017a6db249cda63852c1561406edd5bc150bcf.tar.gz
bcm5719-llvm-0a017a6db249cda63852c1561406edd5bc150bcf.zip
Fixed version of 121434 with no new memory leaks.
llvm-svn: 121471
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 944ed26f542..abc01a28776 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -135,7 +135,7 @@ void TargetLoweringObjectFileELF::Initialize(MCContext &Ctx,
SectionKind::getReadOnly());
EHFrameSection =
getContext().getELFSection(".eh_frame", MCSectionELF::SHT_PROGBITS,
- MCSectionELF::SHF_ALLOC |MCSectionELF::SHF_WRITE,
+ MCSectionELF::SHF_ALLOC,
SectionKind::getDataRel());
// Debug Info Sections.
OpenPOWER on IntegriCloud