[PATCH 4/4] binutils: Add UTF-8 tests

Jan Beulich jbeulich@suse.com
Fri Nov 7 10:34:12 GMT 2025


On 25.09.2025 20:13, Alice Carlotti wrote:
> The UTF-8 support in nm, objdump, readelf and strings was completely
> untested.  This patch adds tests with various combinations of valid and
> invalid encodings.
> 
> The unicode.exp file is based on an incomplete patch [1] that was posted by
> Nick but not fully committed.  The unicode-symbols test input covers all
> relevant edge cases, but the checks are deliberately lax for now because
> I'm unsure what the correct output should be in some cases.
> 
> [1] https://sourceware.org/pipermail/binutils/2021-November/118453.html
> 
> Co-Authored-by: Nick Clifton <nickc@redhat.com>

Looks okay to me, thanks for doing this.

Jan


More information about the Binutils mailing list