BaseTools: Fix Section header size larger than elf file size bug
Add the logic to handle the case that Section header size larger than elf file size. Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
3f02180031
commit
d78675d195
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Header file for Elf convert solution
|
||||
|
||||
Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials are licensed and made available
|
||||
under the terms and conditions of the BSD License which accompanies this
|
||||
@@ -29,6 +29,7 @@ extern UINT32 mImageTimeStamp;
|
||||
extern UINT8 *mCoffFile;
|
||||
extern UINT32 mTableOffset;
|
||||
extern UINT32 mOutImageType;
|
||||
extern UINT32 mFileBufferSize;
|
||||
|
||||
//
|
||||
// Common EFI specific data.
|
||||
|
Reference in New Issue
Block a user