forked from xt-sys/exectos
Allow stripped PE/COFF images to be loaded, just warn about it
This commit is contained in:
parent
cbca1e21c6
commit
aace0f39c4
@ -416,7 +416,8 @@ PepRelocateLoadedImage(IN PPECOFF_IMAGE_CONTEXT Image)
|
||||
if(Image->PeHeader->FileHeader.Characteristics & PECOFF_IMAGE_FILE_RELOCS_STRIPPED)
|
||||
{
|
||||
/* No relocation information found */
|
||||
return STATUS_EFI_UNSUPPORTED;
|
||||
XtLdrProtocol->DbgPrint(L"WARNING: PE/COFF image is stripped and contains no information about relocations\n");
|
||||
return STATUS_EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/* Set relocation data directory */
|
||||
|
Loading…
Reference in New Issue
Block a user