From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AEC6C20955F21 for ; Sun, 25 Feb 2018 18:10:44 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2018 18:16:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,395,1515484800"; d="scan'208";a="30621323" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 25 Feb 2018 18:16:48 -0800 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 25 Feb 2018 18:16:48 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 25 Feb 2018 18:16:48 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Mon, 26 Feb 2018 10:16:46 +0800 From: "Zhu, Yonghong" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch] BaseTools GenFv: Update error message to describe PE image alignment Thread-Index: AQHToK6lGCMIMYS930yzBNj4oQgZp6O2Dk1A Date: Mon, 26 Feb 2018 02:16:45 +0000 Message-ID: References: <1518074985-5292-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1518074985-5292-1-git-send-email-liming.gao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools GenFv: Update error message to describe PE image alignment X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2018 02:10:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Limi= ng Gao Sent: Thursday, February 08, 2018 3:30 PM To: edk2-devel@lists.01.org Subject: [edk2] [Patch] BaseTools GenFv: Update error message to describe P= E image alignment Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib.c b/BaseTools/Source= /C/GenFv/GenFvInternalLib.c index fc1a760..75cbd3a 100644 --- a/BaseTools/Source/C/GenFv/GenFvInternalLib.c +++ b/BaseTools/Source/C/GenFv/GenFvInternalLib.c @@ -1,7 +1,7 @@ /** @file This file contains the internal functions required to generate a Firmware = Volume. =20 -Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
Portions Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.
Por= tions Copyright (c) 2016 HP Development Company, L.P.
This program and the accompanying materials =20 @@ -3532,7 +3532,7 @@ Returns: // // Xip module has the same section alignment and file alignment. // - Error (NULL, 0, 3000, "Invalid", "Section-Alignment and File-Ali= gnment do not match : %s.", FileName); + Error (NULL, 0, 3000, "Invalid", "PE image Section-Alignment=20 + and File-Alignment do not match : %s.", FileName); return EFI_ABORTED; } // @@ -3610,7 +3610,7 @@ Returns: // // Xip module has the same section alignment and file alignment. // - Error (NULL, 0, 3000, "Invalid", "Section-Alignment and File-Ali= gnment do not match : %s.", FileName); + Error (NULL, 0, 3000, "Invalid", "PE image Section-Alignment=20 + and File-Alignment do not match : %s.", FileName); return EFI_ABORTED; } NewPe32BaseAddress =3D XipBase + (UINTN) CurrentPe32Section.Pe32Se= ction + CurSecHdrSize - (UINTN)FfsFile; -- 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel