Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 621bb723a4e00cb93e8a94c6126de4976dde1d9e
https://github.com/tianocore/edk2/commit/621bb723a4e00cb93e8a94c6126de4976dde1d9e
Author: Michael LeMay <[email protected]>
Date: 2016-02-17 (Wed, 17 Feb 2016)
Changed paths:
M BaseTools/Source/C/GenFw/Elf32Convert.c
M BaseTools/Source/C/GenFw/Elf64Convert.c
M BaseTools/Source/C/GenFw/ElfConvert.h
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Yonghong Zhu <[email protected]>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits