diff options
author | Duggapu Chinni B <chinni.b.duggapu@intel.com> | 2024-04-22 21:02:47 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-03 00:25:54 +0000 |
commit | 248aa153f65866f46b5370ac2ef7dfaf3af72480 (patch) | |
tree | 4981c1ca24820deded3eb8ac9b862c54c62dcffb | |
parent | fecf55a66a1cf908c2f906bedb79fe2e8362d50f (diff) | |
download | edk2-248aa153f65866f46b5370ac2ef7dfaf3af72480.tar.gz edk2-248aa153f65866f46b5370ac2ef7dfaf3af72480.tar.bz2 edk2-248aa153f65866f46b5370ac2ef7dfaf3af72480.zip |
IntelFsp2Pkg/PatchFv.py: FIX for GCC 32BIT build error
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 <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com>
Reviewed-by: Ashraf Ali S <ashraf.ali.s@intel.com>
Cc: Ted Kuo <ted.kuo@intel.com>
Signed-off-by: Duggapu Chinni B <chinni.b.duggapu@intel.com>
-rw-r--r-- | IntelFsp2Pkg/Tools/PatchFv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFsp2Pkg/Tools/PatchFv.py b/IntelFsp2Pkg/Tools/PatchFv.py index bd9aa71e3c..d35aa1dc9f 100644 --- a/IntelFsp2Pkg/Tools/PatchFv.py +++ b/IntelFsp2Pkg/Tools/PatchFv.py @@ -432,7 +432,7 @@ class Symbols: 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 = '_'
|