Fix crossgen memory mappings (dotnet/coreclr#13972)
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 14 Sep 2017 14:43:13 +0000 (16:43 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2017 14:43:13 +0000 (16:43 +0200)
commit6998e4d9b248707645f73cb317663199bf8ef91c
tree0e9d51bd5d67240a74029bed679937b6af6e95ef
parentde51439490ce1934d368d32ed030a26ecd0db506
Fix crossgen memory mappings (dotnet/coreclr#13972)

This change removes executable memory mappings from crossgen. Now it
can be run on systems with PAX set to prevent executable mappings
without any marking using the paxctl.

Commit migrated from https://github.com/dotnet/coreclr/commit/3452efb58d2f3be867080f8627417b264fcbd73c
src/coreclr/src/utilcode/loaderheap.cpp
src/coreclr/src/vm/peimagelayout.cpp
src/coreclr/src/vm/stublink.cpp