diff options
author | Hsueh, Hong-chihX <hong-chihx.hsueh@intel.com> | 2019-01-30 09:19:36 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-01-31 11:36:09 +0800 |
commit | a824c7ebde0a431413329049252b8c1d3770de82 (patch) | |
tree | 187d2293788683bece5c5044605895951b1a24f5 /MdeModulePkg/Library | |
parent | 0d18f5db32267450b44f5d4b2fdc8627e30de007 (diff) | |
download | edk2-a824c7ebde0a431413329049252b8c1d3770de82.tar.gz edk2-a824c7ebde0a431413329049252b8c1d3770de82.tar.bz2 edk2-a824c7ebde0a431413329049252b8c1d3770de82.zip |
MdePkg/BasePeCoffLib: skip runtime relocation if reloc info is invalid
Skip runtime relocation for PE images that provide invalid relocation
infomation (ex: RelocDir->Size = 0) to fix a hang observed while booting
Windows.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Neo Hsueh <hong-chihx.hsueh@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bi Dandan <dandan.bi@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdeModulePkg/Library')
0 files changed, 0 insertions, 0 deletions