mirror of https://github.com/acidanthera/audk.git
da21991953
Automatically set the nxcompat flag in the DLL Characteristics field of the Optional Header of the PE32+ image. For this flag to be set automatically, the section alignment must be evenly divisible by 4K (EFI_PAGE_SIZE) and no section must be executable and writable. Adds a command line flag to GenFw, --nonxcompat, to ensure the IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit is not set, even if all requirements are met. Updates the manual for GenFw to include the new flag. Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Joey Vagedes <joeyvagedes@gmail.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Rebecca Cran <rebecca@bsdio.com> |
||
---|---|---|
.. | ||
Elf32Convert.c | ||
Elf32Convert.h | ||
Elf64Convert.c | ||
Elf64Convert.h | ||
ElfConvert.c | ||
ElfConvert.h | ||
GNUmakefile | ||
GenFw.c | ||
GenFw.h | ||
Makefile | ||
elf32.h | ||
elf64.h | ||
elf_common.h |