[PATCH 0/1] More tools need the fix from PR33360

Andrew C Aitchison github@aitchison.me.uk
Fri Sep 5 18:02:01 GMT 2025


From: Andrew C Aitchison <andrew@aitchison.me.uk>

I see that strings is not the only tool here
with code that generates Unicode from UTF-8.

I don't have the ability to check that this does not break the main
funtionality of these tools, so how do we give them a full test ?

I am going to want to make the 4-byte case use \\U%08x (capital U)
to match C99 and then 
make all cases print a single 32bit value as that is clearer to read.
That will mean 2 more patches that touch the same lines for all four files.

Shout if that is not the way to do it.

Thanks,

Andrew C Aitchison (1):
  Correct -Ue and -Uh output for nm, objdump and readelf,
  like PR33360 does for strings.

 binutils/nm.c      | 4 ++--
 binutils/objdump.c | 4 ++--
 binutils/readelf.c | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.48.1



More information about the Binutils mailing list