Re: [Mingw-w64-public] [PATCH] crt: Don't make sections executable when not necessary

2020-05-08 Thread Liu Hao
在 2020/5/8 2:30, Martin Storsjö 写道: > With this in place, a VirtualProtect implementation in winstorecompat > that just straight redirects to VirtualProtectFromApp will work > fine even on UWP without any codeGeneration capability, as long as > there's no runtime pseudo relocs in code sections. And

[Mingw-w64-public] [PATCH] crt: Don't make sections executable when not necessary

2020-05-07 Thread Martin Storsjö
With this in place, a VirtualProtect implementation in winstorecompat that just straight redirects to VirtualProtectFromApp will work fine even on UWP without any codeGeneration capability, as long as there's no runtime pseudo relocs in code sections. And code compiled by LLVM (and as far as I've s