Re: [edk2] [PATCH] BaseTools/PeCoffLib: Check 'RelocDir' before finding the relocation block

2016-11-08 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Wu, Hao A > Sent: Wednesday, November 09, 2016 1:18 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Gao, Liming ; > Zhu, Yonghong > Subject: [PATCH] BaseTools/PeCoffLib: Check 'RelocDir' before finding the > relocation block > > To

[edk2] [PATCH] BaseTools/PeCoffLib: Check 'RelocDir' before finding the relocation block

2016-11-08 Thread Hao Wu
To match the code logics in MdePkg/Library/BasePeCoffLib, add checks for 'RelocDir' before finding the relocation block. Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu --- BaseTools/Source/C/Common/BasePeCoff.c | 46 +++