Skip to content

Draft: Windows: Code generation changes for ASLR

Ben Gamari requested to merge wip/windows-high-codegen into master

This merge request is part of a series enabling ASLR support on Windows. See !7448 (closed) for an overview.


Here we adapt the code generator to produce code which can be loaded in high memory on Windows.

To do:

  • Sort out which of these patches are actually necessary. In particular I'm fairly certain that the "Don't assume that labels are 32-bit literals" patch is wrong.
Edited by Ben Gamari

Merge request reports