Skip to content

Commit 10ab44a

Browse files
committed
Do not require filesz / memsz being consistent.
1 parent 2b2de41 commit 10ab44a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/EFIApp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,7 @@ EFI_STATUS efi_main(
329329

330330
if (PayloadElf32Phdr->p_filesz != PayloadElf32Phdr->p_memsz)
331331
{
332-
Print(L"LOAD section %d skipped due to inconsistent size\n", ph_idx);
333-
continue;
332+
Print(L"%ELOAD section %d size inconsistent; use with caution%N\n", ph_idx);
334333
}
335334

336335
if (PayloadElf32Phdr->p_paddr != LkEntryPoint)

0 commit comments

Comments
 (0)