]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Common/Misc.py
BaseTools: Fix the bug to parse the short varname in map file
authorYonghong Zhu <yonghong.zhu@intel.com>
Tue, 7 Feb 2017 08:05:13 +0000 (16:05 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 8 Feb 2017 05:36:03 +0000 (13:36 +0800)
commitd03c056b2946cc2f83b6d206297915dadc08f230
tree515a61272f9642d34bcbfbe2bfb892af3f95131f
parenta316d7ac91d302085b5c35d76db703f2208ec026
BaseTools: Fix the bug to parse the short varname in map file

current in the map file, there have two ways for var to save its offset,
if the varname is short, then the offset will in the same line with
varname, otherwise, it saved in the next line.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Common/Misc.py