This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] gas: Fix assembly listing on Windows.
"Danny Smith" <dansmister@gmail.com> writes:
>> Kazu Hirata
>>
>> 2008-10-03 Kazu Hirata <kazu@codesourcery.com>
>>
>> * listing.c (buffer_line): Open the source file with FOPEN_RB.
>> Manually process line ends.
>>
>
> This makes sense to me, especially since gcc outputs assembler files
> in binary mode.
I have the same patch in my local tree (except without the '\r'
support), just hadn't gotten around to submitting it. Patch approved.