summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-26 05:35:55 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-26 05:35:55 +0000
commitcfb2bbba734a8af7282eb017068a75fc7ab5f2aa (patch)
tree5fc1a84e4d9e1c29360000ac03c49bb05917eb24 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent329cf66e84ae73422e954d493b610aa501902d0c (diff)
downloadllvm-cfb2bbba734a8af7282eb017068a75fc7ab5f2aa.tar.gz
llvm-cfb2bbba734a8af7282eb017068a75fc7ab5f2aa.tar.bz2
llvm-cfb2bbba734a8af7282eb017068a75fc7ab5f2aa.tar.xz
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.cpp2
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());