This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: Re: Why is my executabel in DOS file format?


> 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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]