Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[efi] Remove section alignment flags from section characteristics
The EFI_IMAGE_SCN_ALIGN_16BYTES flags present in our section characteristics are not recognised by some versions of Microsoft's "link.exe" tool. This may be causing issues with the UEFI Secure Boot signing "process". The error reporting mechanism of said "process" comprises exactly one bit of information stating only that an error has occurred, and no-one at Microsoft seems to have the faintest clue as to what the underlying real error may be. The section alignment flags are not required, since the section alignment is already included within the various alignment fields in the PE "optional" header anyway. Remove the section alignment flags in the blind hope that this may placate the explanatorily challenged daemons responsible for Secure Boot signing at Microsoft. Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
- Loading branch information