mirror of
https://github.com/acidanthera/audk.git
synced 2025-11-07 15:20:25 +01:00
BaseTools/ImageTool: Improve diagnostic messages
This commit is contained in:
parent
4f8ce12f1e
commit
12e17b593e
@ -237,7 +237,7 @@ CheckToolImageReloc (
|
|||||||
// FIXME: Update drivers?
|
// FIXME: Update drivers?
|
||||||
if (Image->HeaderInfo.Subsystem == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER &&
|
if (Image->HeaderInfo.Subsystem == EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER &&
|
||||||
Segment->Write) {
|
Segment->Write) {
|
||||||
printf("!!! writable reloc at %x !!!\n", Reloc->Target);
|
printf("WARNING: Writable reloc at %x!\n", Reloc->Target);
|
||||||
//DEBUG_RAISE ();
|
//DEBUG_RAISE ();
|
||||||
//return false;
|
//return false;
|
||||||
}
|
}
|
||||||
@ -311,6 +311,7 @@ CheckToolImageDebugInfo (
|
|||||||
{
|
{
|
||||||
if (DebugInfo->SymbolsPathLen > MAX_UINT8) {
|
if (DebugInfo->SymbolsPathLen > MAX_UINT8) {
|
||||||
DEBUG_RAISE ();
|
DEBUG_RAISE ();
|
||||||
|
printf("ERROR: Debug symbol path exceeds maximum allowed range of %u bytes!\n", MAX_UINT8);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user