1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Align Win64 EH Table sections to 4 bytes.

llvm-svn: 132111
This commit is contained in:
Charles Davis 2011-05-26 05:19:54 +00:00
parent cf332d9ff7
commit 44fb280873

View File

@ -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());