https://sourceware.org/bugzilla/show_bug.cgi?id=32077
Bug ID: 32077
Summary: gas garbles multibyte UTF-8 characters in listing on
long lines
Product: binutils
Version: 2.40
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: j at uriah dot heep.sax.de
Target Milestone: ---
Created attachment 15667
--> https://sourceware.org/bugzilla/attachment.cgi?id=15667&action=edit
Test case source code file
When long (e.g. comment) lines contain multibyte UTF-8 characters, gas
arbitrarily cuts them off at the line length limit, irrespective of whether the
current chacters is within a multibyte sequence.
This generates listing files with invalid characters.
The test case file generates the following:
3 # This is a very lengthy comment that contains
lots of strange characters xツア邃「竇昶慊」竇慊、竇
4 # This is a very lengthy comment that contains
lots of strange characters xツア邃「竇昶慊」竇慊、竇
--
You are receiving this mail because:
You are on the CC list for the bug.