audk/BaseTools/Source/C
Michael LeMay 621bb723a4 BaseTools/GenFw: Enhance error message for bad symbol definitions
This patch expands the error message that is output when GenFw
encounters a bad symbol definition or an unsupported symbol type.  It
displays the symbol name, the symbol address, and a message that
describes both possibilities (bad symbol definition or unsupported
symbol type).  It also provides two examples of unsupported symbol
types.

Furthermore, this patch revises the conditional for detecting bad
symbol definitions to eliminate a redundant test (a Sym->st_shndx
value of SHN_ABS should certainly be greater than mEhdr->e_shnum) and
to change another test from 'Sym->st_shndx > mEhdr->e_shnum' to
'Sym->st_shndx >= mEhdr->e_shnum' for consistency with the test in
GetShdrByIndex.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael LeMay <michael.lemay@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2016-02-17 13:21:44 +08:00
..
BootSectImage BaseTools-Source: Update displayed version information 2016-02-16 10:58:40 +08:00
Common BaseTools/PeCoffLoader: fix handling of ARM MOVW/MOVT instruction relocs 2015-10-09 18:55:28 +00:00
EfiLdrImage BaseTools-Source: Update displayed version information 2016-02-16 10:58:40 +08:00
EfiRom License header updated to match correct format. 2014-08-28 13:53:34 +00:00
GenBootSector BaseTools: Fix 'caculate' typos 2016-01-06 01:13:35 +00:00
GenCrc32 License header updated to match correct format. 2014-08-28 13:53:34 +00:00
GenFfs BaseTools: use GUID identifiable section for FFS alignment padding 2015-07-27 13:50:19 +00:00
GenFv BaseTools: Fix 'caculate' typos 2016-01-06 01:13:35 +00:00
GenFw BaseTools/GenFw: Enhance error message for bad symbol definitions 2016-02-17 13:21:44 +08:00
GenPage License header updated to match correct format. 2014-08-28 13:53:34 +00:00
GenSec License header updated to match correct format. 2014-08-28 13:53:34 +00:00
GenVtf BaseTools: Update BaseTools to pass VS2015 compiler 2016-01-29 04:54:37 +00:00
GnuGenBootSector License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Include Revert the change in r19137. 2015-12-07 09:01:44 +00:00
LzmaCompress BaseTools: Update BaseTools to pass VS2015 compiler 2016-01-29 04:54:37 +00:00
Makefiles BaseTools: Fix build on FreeBSD and allow use of non-gcc system compiler 2015-07-08 01:06:25 +00:00
PyEfiCompressor License header updated to match correct format. 2014-08-28 13:53:34 +00:00
PyUtility License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Split BaseTools-Source: Update displayed version information 2016-02-16 10:58:40 +08:00
TianoCompress License header updated to match correct format. 2014-08-28 13:53:34 +00:00
VfrCompile BaseTools-Source: Update displayed version information 2016-02-16 10:58:40 +08:00
VolInfo BaseTools-Source: Update displayed version information 2016-02-16 10:58:40 +08:00
GNUmakefile BaseTools: add ARCH detection for AARCH64 and ARM 2015-08-12 05:22:49 +00:00
Makefile Fix nmake cleanall bugs. 2014-08-25 05:00:34 +00:00