>From Dave:
>>That was explained in a previous response: objcopy thinks
>that the srec
>>specification requires that this be the case.
>>
>
>So since this isn't the case is there someone to contact who
>would consider
>adding this... the objcopy guru.
Well it is not exactly an objcopy issue. It is the bfd change and if you
Wish to get it done then just apply this patch to your local binutil
sources
and build it again
Personally I feel that it is the format of the srec files to have /r/n as
the line terminator.
So this patch should not be there in the mainline. <debateable>
========================================================
--- bfd/srec.c Tue Feb 18 19:02:21 2003
+++ bfd/srec1.c Wed Mar 3 00:52:35 2004
@@ -982,7 +982,7 @@ srec_write_record (abfd, type, address,
TOHEX (dst, check_sum, check_sum);
dst += 2;
- *dst++ = '\r';
+ /* *dst++ = '\r';*/
*dst++ = '\n';
wrlen = dst - buffer;
if (bfd_bwrite ((PTR) buffer, wrlen, abfd) != wrlen)