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 /binutils/ChangeLog | |
parent | c1e7d6a827c40a56816e3cd8e3815790197fa41b (diff) | |
download | fsf-binutils-gdb-ab2733963604205afbcc1bc164048864e955c8ff.zip fsf-binutils-gdb-ab2733963604205afbcc1bc164048864e955c8ff.tar.gz fsf-binutils-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 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e972c7e..8779082 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,12 @@ +2015-11-03 Alan Modra <amodra@gmail.com> + + * 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. + 2015-10-30 Nick Clifton <nickc@redhat.com> * po/zh_CN.po: Updated (simplified) Chinese translation. |