aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-26 05:19:54 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-26 05:19:54 +0000
commit4be76e2152d58c11e3a451144d32d5235c63eaf0 (patch)
tree2fa4f2c8a9e81d7f0d26d132878414e1720ed244 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent567a1ad7c59b12459807dce66249635f582b4db6 (diff)
downloadllvm-4be76e2152d58c11e3a451144d32d5235c63eaf0.zip
llvm-4be76e2152d58c11e3a451144d32d5235c63eaf0.tar.gz
llvm-4be76e2152d58c11e3a451144d32d5235c63eaf0.tar.bz2
Align Win64 EH Table sections to 4 bytes.
llvm-svn: 132111
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index e9cfe43..1162521 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -994,6 +994,7 @@ 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());
@@ -1001,6 +1002,7 @@ 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());