From e0c80c5f5c7d395d79aa350a26f46101a78af95d Mon Sep 17 00:00:00 2001 From: "John Chen (JOCHEN7)" Date: Tue, 28 Apr 2015 13:20:01 -0700 Subject: Build crossgen for Linux - Crossgen is now built as part of coreclr - Crossgen successfully compiles mscorlib.dll - Resulting mscorlib.ni.dll not yet usable --- src/zap/zapimage.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/zap/zapimage.cpp') diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp index 67bad6d1ee..3d673bf2bc 100644 --- a/src/zap/zapimage.cpp +++ b/src/zap/zapimage.cpp @@ -1863,6 +1863,9 @@ void ZapImage::OutputTables() // 512 byte alignment, since there is no plan to compress data partitions. SetFileAlignment(0x1000); } +#elif defined(FEATURE_PAL) + // PAL library requires native image sections to align to page bounaries. + SetFileAlignment(0x1000); #endif } @@ -4097,7 +4100,7 @@ HRESULT ZapImage::LocateProfileData() return S_FALSE; } -#if !defined(FEATURE_CORECLR) || defined(FEATURE_WINDOWSPHONE) +#if !defined(FEATURE_PAL) // // See if there's profile data in the resource section of the PE // -- cgit v1.2.3