Skip to content

Commit

Permalink
Do not require filesz / memsz being consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
imbushuo committed Apr 24, 2018
1 parent 2b2de41 commit 10ab44a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/EFIApp.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ EFI_STATUS efi_main(

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

if (PayloadElf32Phdr->p_paddr != LkEntryPoint)
Expand Down

0 comments on commit 10ab44a

Please sign in to comment.