diff options
author | Alan Modra <amodra@gmail.com> | 2015-11-03 19:33:27 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-11-03 22:52:05 +1030 |
commit | ab2733963604205afbcc1bc164048864e955c8ff (patch) | |
tree | a8d2e374a0645586e7e4f0c1edda2ed2bf488e92 /symlink-tree | |
parent | c1e7d6a827c40a56816e3cd8e3815790197fa41b (diff) | |
download | gdb-ab2733963604205afbcc1bc164048864e955c8ff.zip gdb-ab2733963604205afbcc1bc164048864e955c8ff.tar.gz gdb-ab2733963604205afbcc1bc164048864e955c8ff.tar.bz2 |
readelf verdef and verneed
readelf ought to notify when a symbol wrongly has both a version
definition and a needed version. This patch does that, and removes
the heuristic that only defined symbols in SHT_NOBITS sections have
verneed entries.
* readelf (process_version_sections): Check DT_VERNEED and
DT_VERDEF for all symbols. Report "*both*" should a symbol
have both a verneed and verdef.
(get_symbol_version_string): Reduce indentation by early
exits. Don't use SHT_NOBITS heuristic to detect case where a
defined symbol has a verneed entry.
Diffstat (limited to 'symlink-tree')
0 files changed, 0 insertions, 0 deletions