]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools GenFv: Update error message to describe PE image alignment
authorLiming Gao <liming.gao@intel.com>
Thu, 8 Feb 2018 07:29:45 +0000 (15:29 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 26 Feb 2018 05:18:19 +0000 (13:18 +0800)
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/C/GenFv/GenFvInternalLib.c

index fc1a7602ab996f9b6fc64a1928998b798999ef30..75cbd3ac17c2fdc36fcd8215baaabda53cb481c0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 This file contains the internal functions required to generate a Firmware Volume.\r
 \r
-Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
 Portions Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>\r
 Portions Copyright (c) 2016 HP Development Company, L.P.<BR>\r
 This program and the accompanying materials                          \r
@@ -3532,7 +3532,7 @@ Returns:
           //\r
           // Xip module has the same section alignment and file alignment.\r
           //\r
-          Error (NULL, 0, 3000, "Invalid", "Section-Alignment and File-Alignment do not match : %s.", FileName);\r
+          Error (NULL, 0, 3000, "Invalid", "PE image Section-Alignment and File-Alignment do not match : %s.", FileName);\r
           return EFI_ABORTED;\r
         }\r
         //\r
@@ -3610,7 +3610,7 @@ Returns:
           //\r
           // Xip module has the same section alignment and file alignment.\r
           //\r
-          Error (NULL, 0, 3000, "Invalid", "Section-Alignment and File-Alignment do not match : %s.", FileName);\r
+          Error (NULL, 0, 3000, "Invalid", "PE image Section-Alignment and File-Alignment do not match : %s.", FileName);\r
           return EFI_ABORTED;\r
         }\r
         NewPe32BaseAddress = XipBase + (UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize - (UINTN)FfsFile;\r