This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: FW: Re: Why is my executabel in DOS file format?
- From: DJ Delorie <dj at redhat dot com>
- To: fitter20 at hotmail dot com
- Cc: Nitin dot Gupta at infineon dot com, binutils at sources dot redhat dot com
- Date: Wed, 3 Mar 2004 16:01:21 -0500
- Subject: Re: FW: Re: Why is my executabel in DOS file format?
- References: <BAY7-F31b8HR9h8ZIgG0003c82b@hotmail.com>
> However, this should be fixed - its clearly not following the spec.
> /cr/lf/null != /r/n
Ok, then, what is it? CR = carriage return = '\r' in C, LF = line
feed = '\n' in C (at least in binary mode, which bfd uses). The only
change it seems you're proposing is adding a NUL byte after each LF.
(but NULL is not the same as NUL).