Platforms are now requiring that section alignment by page aligned (4k) to meeting UEFI CA Memory Mitigation Requirements.
The latest release from this repo (v3.6.8.1) does not meet these requirements. A dump of the section alignment from the Python.efi binary in that release:
Building against the most recent edk2 should automatically use the updated linker flags so the image have 4k section alignment.
In addition, the build flow should set IMAGE_DLLCHARACTERISTICS_NX_COMPAT in DLL Characteristics as described in the document linked above.
Platforms are now requiring that section alignment by page aligned (4k) to meeting UEFI CA Memory Mitigation Requirements.
The latest release from this repo (v3.6.8.1) does not meet these requirements. A dump of the section alignment from the
Python.efibinary in that release:Building against the most recent edk2 should automatically use the updated linker flags so the image have 4k section alignment.
In addition, the build flow should set
IMAGE_DLLCHARACTERISTICS_NX_COMPATin DLL Characteristics as described in the document linked above.