diff options
author | Nick Lott <nick.lott@gmail.com> | 2021-04-21 15:33:13 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-04-21 15:33:13 +0100 |
commit | 047c3dbf5541b14a6fb562c2d847784f4b06de78 (patch) | |
tree | d14e956b967429659a03fd79736e0f730fc4bb64 /binutils/NEWS | |
parent | fd34472cdce1d49bee6fa840caffff6f06de00de (diff) | |
download | binutils-047c3dbf5541b14a6fb562c2d847784f4b06de78.zip binutils-047c3dbf5541b14a6fb562c2d847784f4b06de78.tar.gz binutils-047c3dbf5541b14a6fb562c2d847784f4b06de78.tar.bz2 |
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.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r-- | binutils/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS index c5b5f4f..d21f219 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,11 @@ -*- text -*- +* The readelf tool has a new command line option which can be used to specify + how the numeric values of symbols are reported. --sym-base=0|8|10|16 tells + readelf to display the values in base 8, base 10 or base 16. A sym base of 0 + represents the default action of displaying values under 10000 in base 10 and + values above that in base 16. + * Binutils now requires a C99 compiler and library to build. * A new format has been added to the nm program. Specifying |