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