[PATCH 0/2] UTF-8 output correction and simplification

Andrew C Aitchison werdna@aitchison.me.uk
Tue Sep 9 11:04:34 GMT 2025


Display 4 byte UTF-8 as \Uxxxxxxxx
and make calculation of all UTF-8 output eaier to read.

Andrew C Aitchison (2):
  Show 4 byte UTF-8 as \Uxxxxxxxx Simplify this by using a single uint32
    rather than four bytes.
  Simplify generation of UTF-8 output strings, making the code more
    readable.

 binutils/doc/binutils.texi | 32 +++++++++++++++++---------------
 binutils/nm.c              | 22 ++++++++++++----------
 binutils/objdump.c         | 22 ++++++++++++----------
 binutils/readelf.c         | 23 ++++++++++++-----------
 binutils/strings.c         |  2 +-
 5 files changed, 54 insertions(+), 47 deletions(-)

-- 
2.48.1



More information about the Binutils mailing list