REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3984
Under function RolocateElfDynamic() in Elf32Lib.c
if (RelaAddress == MAX_UINT64) is always FALSE while RelaAddress is UINT32
Fix is to modify if condition check to "if (RelaAddress == MAX_UINT32)"
Cc: Ray Ni <ray.ni@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: James Lu <james.lu@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
}\r
}\r
\r
- if (RelaAddress == MAX_UINT64) {\r
+ if (RelaAddress == MAX_UINT32) {\r
ASSERT (RelaCount == 0);\r
ASSERT (RelaEntrySize == 0);\r
ASSERT (RelaSize == 0);\r