projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac7b03
)
Align Win64 EH Table sections to 4 bytes.
author
Charles Davis
<cdavis@mines.edu>
Thu, 26 May 2011 05:19:54 +0000
(
05:19
+0000)
committer
Charles Davis
<cdavis@mines.edu>
Thu, 26 May 2011 05:19:54 +0000
(
05:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132111
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index e9cfe43e6d4940cffb99b4f2e9e313c96c116a6e..11625214c66200e10e724258df837625a51c82fa 100644
(file)
--- a/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/
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());