Skip to content

Commit

Permalink
OvmfPkg: Fixed IA32 NOOPT compilation.
Browse files Browse the repository at this point in the history
Allowed PE32 format for UEFI_APPLICATIONs, as Shell.efi is > 1MiB and 
consequently 32-bit chaining relocs can not be applied.
  • Loading branch information
Mikhail Krichanov committed Sep 11, 2023
1 parent c0f3930 commit ff58716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OvmfPkg/OvmfPkgIa32.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {

[Rule.Common.UEFI_APPLICATION]
FILE APPLICATION = $(NAMED_GUID) {
UE UE $(INF_OUTPUT)/$(MODULE_NAME).efi
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING="$(MODULE_NAME)" Optional
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
}
Expand Down

0 comments on commit ff58716

Please sign in to comment.