Add ability to select numeric base when displaying symbol values in readelf.
authorNick Lott <nick.lott@gmail.com>
Wed, 21 Apr 2021 14:33:13 +0000 (15:33 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Apr 2021 14:33:13 +0000 (15:33 +0100)
commit047c3dbf5541b14a6fb562c2d847784f4b06de78
treed14e956b967429659a03fd79736e0f730fc4bb64
parentfd34472cdce1d49bee6fa840caffff6f06de00de
Add ability to select numeric base when displaying symbol values in readelf.

PR 27672
* readelf.c (sym_base): New variable.
(enum print_mode): Add more modes.
(print_vma): Add suport for new modes.
(options): Add sym-base.
(usage): Add sym-base.
(parse_args): Add support for --sym-base.
(print_dynamic_symbol_size): New function.
(print_dynamic_symbol): Use new function.
* doc/binutils.texi: Document the new feature.
* NEWS: Mention the new feature.
binutils/ChangeLog
binutils/NEWS
binutils/doc/binutils.texi
binutils/readelf.c