Skip to content

Commit

Permalink
IntelFsp2Pkg/PatchFv.py: FIX for GCC 32BIT build error
Browse files Browse the repository at this point in the history
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4762

Map file generating 8 byte address offset is not matched
with the pattern defined in patchFv tool resulting build
error.

Cc: Chasel Chiu <[email protected]>
Reviewed-by: Nate DeSimone <[email protected]>
Cc: Duggapu Chinni B <[email protected]>
Reviewed-by: Ashraf Ali S <[email protected]>
Cc: Ted Kuo <[email protected]>

Signed-off-by: Duggapu Chinni B <[email protected]>
  • Loading branch information
cbduggap authored and mergify[bot] committed May 3, 2024
1 parent fecf55a commit 248aa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IntelFsp2Pkg/Tools/PatchFv.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def parseModMapFile(self, moduleName, mapFile):
if reportLine.strip().find("Archive member included") != -1:
#GCC
# 0x0000000000001d55 IoRead8
patchMapFileMatchString = r"\s+(0x[0-9a-fA-F]{16})\s+([^\s][^0x][_a-zA-Z0-9\-]+)\s"
patchMapFileMatchString = r"\s+(0x[0-9a-fA-F]{8,16})\s+([^\s][^0x][_a-zA-Z0-9\-]+)\s"
matchKeyGroupIndex = 2
matchSymbolGroupIndex = 1
prefix = '_'
Expand Down

0 comments on commit 248aa15

Please sign in to comment.