diff options
author | Jonghyun Park <parjong@gmail.com> | 2016-09-26 19:58:35 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-09-26 12:58:35 +0200 |
commit | 712cdd405e9aac7fc6806814a2fddd976e84d9df (patch) | |
tree | 00677bb0e6b6c0611cd8012e677ba24b620fe732 /src/zap | |
parent | ee36d7fbc74d516a30c1969934af5afb7ba5c76d (diff) | |
download | coreclr-712cdd405e9aac7fc6806814a2fddd976e84d9df.tar.gz coreclr-712cdd405e9aac7fc6806814a2fddd976e84d9df.tar.bz2 coreclr-712cdd405e9aac7fc6806814a2fddd976e84d9df.zip |
Check PAL first, and then Windows Phone (#7354)
Diffstat (limited to 'src/zap')
-rw-r--r-- | src/zap/zapimage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp index f7737bae3f..8f2bc78f5b 100644 --- a/src/zap/zapimage.cpp +++ b/src/zap/zapimage.cpp @@ -1705,16 +1705,16 @@ void ZapImage::OutputTables() SetSizeOfStackCommit(m_ModuleDecoder.GetSizeOfStackCommit()); } -#if defined(_TARGET_ARM_) && defined(FEATURE_CORECLR) && defined(FEATURE_CORESYSTEM) +#if defined(FEATURE_PAL) + // PAL library requires native image sections to align to page bounaries. + SetFileAlignment(0x1000); +#elif defined(_TARGET_ARM_) && defined(FEATURE_CORECLR) && defined(FEATURE_CORESYSTEM) if (!IsReadyToRunCompilation()) { // On ARM CoreSys builds, crossgen will use 4k file alignment, as requested by Phone perf team // to improve perf on phones with compressed system partitions. SetFileAlignment(0x1000); } -#elif defined(FEATURE_PAL) - // PAL library requires native image sections to align to page bounaries. - SetFileAlignment(0x1000); #endif } |