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

Alice Carlotti alice.carlotti@arm.com
Tue Sep 9 11:27:45 GMT 2025


On Tue, Sep 09, 2025 at 12:04:34PM +0100, Andrew C Aitchison wrote:
> 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
> 

Looks good from my perspective (though someone else needs to formally approve
it).

Alice



More information about the Binutils mailing list