Bug fix in PatchFv.py for GCC build in IntelFspPkg.
[mirror_edk2.git] / IntelFspPkg / Tools / PatchFv.py
index 2143161..4421a83 100644 (file)
@@ -224,7 +224,7 @@ class Symbols:
         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