Re: [edk2] [Patch] BaseTools/GenFw: enhance to use Magic Field to identify the image

2016-05-12 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Zhu, Yonghong > Sent: Thursday, May 12, 2016 2:32 PM > To: edk2-devel@lists.01.org > Cc: Gao, Liming > Subject: [Patch] BaseTools/GenFw: enhance to use Magic Field to identify > the image > > Original use the File Header Machine Field

[edk2] [Patch] BaseTools/GenFw: enhance to use Magic Field to identify the image

2016-05-11 Thread Yonghong Zhu
Original use the File Header Machine Field to identify EFI_IMAGE_OPTIONAL_HEADER32 or EFI_IMAGE_OPTIONAL_HEADER64, it cannot correctly handle EBC arch PE32 image. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu --- BaseTools/Source/C/GenFw/GenF