Add support to EBC image
authorlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 8 Jul 2008 06:09:33 +0000 (06:09 +0000)
committerlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 8 Jul 2008 06:09:33 +0000 (06:09 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1280 7335b38e-4728-0410-8992-fb3ffe349368

Source/C/Common/BasePeCoff.c

index 1d59708..6633b67 100644 (file)
@@ -183,7 +183,8 @@ Returns:
   \r
   if (ImageContext->Machine != EFI_IMAGE_MACHINE_IA32 && \\r
       ImageContext->Machine != EFI_IMAGE_MACHINE_IA64 && \\r
-      ImageContext->Machine != EFI_IMAGE_MACHINE_X64) {\r
+      ImageContext->Machine != EFI_IMAGE_MACHINE_X64  && \\r
+      ImageContext->Machine != EFI_IMAGE_MACHINE_EBC) {\r
     //\r
     // upsupported PeImage machine type \r
     // \r