audk/UefiPayloadPkg/PayloadLoaderPeim/ElfLib
Ray Ni 3cde0d553d UefiPayloadPkg/PayloadLoader: Remove assertion
For R_386_RELATIVE and R_X86_64_RELATIVE, today's logic assumes that
the content pointed by the Rela->r_offset is 0 but it's not always
TRUE. We observed that linker may set the content to Rela->r_addend.

The patch removes the assertion.
There is no functionality impact for this patch.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
2021-06-30 07:12:54 +00:00
..
Elf32.h
Elf32Lib.c UefiPayloadPkg/PayloadLoader: Remove assertion 2021-06-30 07:12:54 +00:00
Elf64.h
Elf64Lib.c UefiPayloadPkg/PayloadLoader: Remove assertion 2021-06-30 07:12:54 +00:00
ElfCommon.h
ElfLib.c
ElfLibInternal.h