Bug fix in PatchFv.py for GCC build in IntelFspPkg.

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
This commit is contained in:
Yao, Jiewen 2015-07-28 07:24:48 +00:00 committed by jyao1
parent 70c7664cd3
commit 71a6022f69
1 changed files with 1 additions and 1 deletions

View File

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