aboutsummaryrefslogtreecommitdiff
path: root/binutils/NEWS
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-11-09 13:25:42 +0000
committerNick Clifton <nickc@redhat.com>2021-11-09 13:25:42 +0000
commitb3aa80b45c4f46029efeb204bb9f2d2c4278a0e5 (patch)
tree843d2678476437a35e31a6fef3ff905781fc8d8b /binutils/NEWS
parent024120b6ee344843b7d02e83e6fc0d5b33a3cd29 (diff)
downloadgdb-b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5.zip
gdb-b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5.tar.gz
gdb-b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5.tar.bz2
Add --unicode option to control how unicode characters are handled by display tools.
* nm.c: Add --unicode option to control how unicode characters are handled. * objdump.c: Likewise. * readelf.c: Likewise. * strings.c: Likewise. * binutils.texi: Document the new feature. * NEWS: Document the new feature. * testsuite/binutils-all/unicode.exp: New file. * testsuite/binutils-all/nm.hex.unicode * testsuite/binutils-all/strings.escape.unicode * testsuite/binutils-all/objdump.highlight.unicode * testsuite/binutils-all/readelf.invalid.unicode
Diffstat (limited to 'binutils/NEWS')
-rw-r--r--binutils/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS
index e6977b6..f948d34 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -2,6 +2,15 @@
* Add support for the LoongArch instruction set.
+* Tools which display symbols or strings (readelf, strings, nm, objdump)
+ have a new command line option which controls how unicode characters are
+ handled. By default they are treated as normal for the tool. Using
+ --unicode=locale will display them according to the current locale.
+ Using --unicode=hex will display them as hex byte values, whilst
+ --unicode=escape will display them as escape sequences. In addition
+ using --unicode=highlight will display them as unicode escape sequences
+ highlighted in red (if supported by the output device).
+
Changes in 2.37:
* The readelf tool has a new command line option which can be used to specify