mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Revert r132111. I built Release (without Asserts), so I didn't know about the
assert that prevented setting alignment on section creation. llvm-svn: 132113
This commit is contained in:
parent
a5045b7351
commit
4becdc727e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user