Set DLL flag on R2R binaries (#54533)
authorAnton Lapounov <antonl@microsoft.com>
Tue, 22 Jun 2021 22:45:36 +0000 (15:45 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Jun 2021 22:45:36 +0000 (15:45 -0700)
commitac106e87e1224bc81f28d82f1f1507dfd65ad975
tree94eb497364f47bd70e732ebff7a03fbc5d7a7fd7
parent7a3343f22f7caab6cd04c94e8ce8e34971e791d3
Set DLL flag on R2R binaries (#54533)

This is required for R2R relocations to be processed by the OS loader on Windows 7.
src/coreclr/tools/aot/ILCompiler.ReadyToRun/CodeGen/ReadyToRunObjectWriter.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ObjectWriter/R2RPEBuilder.cs