dlltool emits extraneous CRs when using def file with CRLF endings
Yitzchak Scott-Thoennes
sthoenna@efn.org
Mon May 16 02:57:00 GMT 2005
On Sun, May 15, 2005 at 09:09:53PM -0400, Christopher Faylor wrote:
> On Sun, May 15, 2005 at 12:10:36PM -0700, Yitzchak Scott-Thoennes wrote:
> >This patch fixes it for me:
> >--- binutils-20041229-1/binutils/deflex.l.orig 2005-05-15 12:03:31.295483200 -0700
> >+++ binutils-20041229-1/binutils/deflex.l 2005-05-15 12:03:38.105275000 -0700
> >@@ -81,6 +81,7 @@
> > ";".* { }
> > " " { }
> > "\t" { }
> >+"\r" { }
> > "\n" { linenumber ++ ;}
> > "=" { return '=';}
> > "." { return '.';}
>
> Could you forward this patch (with ChangeLog) to binutils AT sourceware PERIOD org?
Certainly.
2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
* deflex.l: Ignore CRs
--- binutils-20041229-1/binutils/deflex.l.orig 2005-05-15 12:03:31.295483200 -0700
+++ binutils-20041229-1/binutils/deflex.l 2005-05-15 12:03:38.105275000 -0700
@@ -81,6 +81,7 @@
";".* { }
" " { }
"\t" { }
+"\r" { }
"\n" { linenumber ++ ;}
"=" { return '=';}
"." { return '.';}
More information about the Binutils
mailing list