Skip to content

cmd/link: on Windows, generate dynamic base executables also on amd64 and x86  #27144

@rasky

Description

@rasky

As part of windows/arm support, in CL125468 cmd/ld has learnt how to generate dynamic base executables, that is binaries that can be relocated at any virtual memory address. This allows the Windows kernel to turn on ASLR.

The support has been activated only on windows/arm. It should be activated also on amd64 and x86, so that Go binaries on Windows can benefit from ASLR.

/cc @alexbrainman

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions