]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Bug fix in PatchFv.py for GCC build in IntelFspPkg.
authorYao, Jiewen <Jiewen.Yao@intel.com>
Tue, 28 Jul 2015 07:24:48 +0000 (07:24 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 28 Jul 2015 07:24:48 +0000 (07:24 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18093 6f19259b-4bc3-4df7-8a09-765794883524

IntelFspPkg/Tools/PatchFv.py

index 2143161d2c204184d3ccce16e45cb2aead9df391..4421a83bd802e93d84149ae93126e7e1b8467306 100644 (file)
@@ -224,7 +224,7 @@ class Symbols:
         modSymbols  = {}\r
         fdIn        = open(mapFile, "r")\r
         reportLine  = fdIn.readline()\r
         modSymbols  = {}\r
         fdIn        = open(mapFile, "r")\r
         reportLine  = fdIn.readline()\r
-        if reportLine.strip().find("Archive member included because of file (symbol)") != -1:\r
+        if reportLine.strip().find("Archive member included") != -1:\r
             #GCC\r
             #                0x0000000000001d55                IoRead8\r
             patchMapFileMatchString = "\s+(0x[0-9a-fA-F]{16})\s+([^\s][^0x][_a-zA-Z0-9\-]+)\s"\r
             #GCC\r
             #                0x0000000000001d55                IoRead8\r
             patchMapFileMatchString = "\s+(0x[0-9a-fA-F]{16})\s+([^\s][^0x][_a-zA-Z0-9\-]+)\s"\r