diff options
| author | Ray Ni <ray.ni@intel.com> | 2021-06-29 06:07:51 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-30 10:12:54 +0300 |
| commit | 3cde0d553d9324a3681b65f9d9a2a8691af26840 (patch) | |
| tree | e68c5a8e316807e709eea2fd0250945c7f1ba7f9 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c | |
| parent | 939ed3a59223f516e5168577ba61ee3baf98eeea (diff) | |
| download | edk2-3cde0d553d9324a3681b65f9d9a2a8691af26840.tar.xz | |
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions
