From: Yao, Jiewen Date: Tue, 28 Jul 2015 07:24:48 +0000 (+0000) Subject: Bug fix in PatchFv.py for GCC build in IntelFspPkg. X-Git-Tag: edk2-stable201903~9187 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=71a6022f690da06e7453489c2b9158f18b7163f3;hp=70c7664cd3d2689f2ba9ed6bf0de0fc44501f613 Bug fix in PatchFv.py for GCC build in IntelFspPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Reviewed-by: "Mudusuru, Giri P" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18093 6f19259b-4bc3-4df7-8a09-765794883524 --- 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"