summaryrefslogtreecommitdiffstats
path: root/IntelFspPkg/Tools/PatchFv.py
diff options
context:
space:
mode:
authorYao, Jiewen <Jiewen.Yao@intel.com>2015-07-28 07:24:48 +0000
committerjyao1 <jyao1@Edk2>2015-07-28 07:24:48 +0000
commit71a6022f690da06e7453489c2b9158f18b7163f3 (patch)
treeda7570e183f34cf2f99950cd02aeb823d4afc1c0 /IntelFspPkg/Tools/PatchFv.py
parent70c7664cd3d2689f2ba9ed6bf0de0fc44501f613 (diff)
downloadedk2-71a6022f690da06e7453489c2b9158f18b7163f3.tar.gz
edk2-71a6022f690da06e7453489c2b9158f18b7163f3.tar.bz2
edk2-71a6022f690da06e7453489c2b9158f18b7163f3.zip
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
Diffstat (limited to 'IntelFspPkg/Tools/PatchFv.py')
-rw-r--r--IntelFspPkg/Tools/PatchFv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFspPkg/Tools/PatchFv.py b/IntelFspPkg/Tools/PatchFv.py
index 2143161d2c..4421a83bd8 100644
--- a/IntelFspPkg/Tools/PatchFv.py
+++ b/IntelFspPkg/Tools/PatchFv.py
@@ -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"