diff options
author | Charles Davis <cdavis@mines.edu> | 2011-05-26 05:35:55 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2011-05-26 05:35:55 +0000 |
commit | cfb2bbba734a8af7282eb017068a75fc7ab5f2aa (patch) | |
tree | 5fc1a84e4d9e1c29360000ac03c49bb05917eb24 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 329cf66e84ae73422e954d493b610aa501902d0c (diff) |
Revert r132111. I built Release (without Asserts), so I didn't know about the
assert that prevented setting alignment on section creation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 11625214c6..e9cfe43e6d 100644 --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -994,7 +994,6 @@ void TargetLoweringObjectFileCOFF::Initialize(MCContext &Ctx, PDataSection = getContext().getCOFFSection(".pdata", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | - COFF::IMAGE_SCN_ALIGN_4BYTES | COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, SectionKind::getDataRel()); @@ -1002,7 +1001,6 @@ void TargetLoweringObjectFileCOFF::Initialize(MCContext &Ctx, XDataSection = getContext().getCOFFSection(".xdata", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | - COFF::IMAGE_SCN_ALIGN_4BYTES | COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, SectionKind::getDataRel()); |