objcopy interleave address bug ?

Nick Clifton nickc@redhat.com
Fri Jan 2 16:59:00 GMT 2004


Hi Alan,

> Yes.  Most people must start their ROMs at zero, otherwise I expect this
> issue would have already been raised.  Or perhaps people have discovered
> that --change-section-lma works around the problem.  That's not a nice
> solution since it requires you know the original section lma, but if I
> commit the following I'll change the behaviour for people who might
> currently use "objcopy --interleave=x --byte=y --change-section-lma=z".
> On the whole, I think the following is a desirable patch, but I'll leave
> committing it for a while to see if there are dissenting opinions.
>
> 	   * objcopy.c (filter_bytes): Delete.  Move code to..
> 	   (copy_section): ..here.  Simplify size adjustment.  Divide
> 	   section lma by interleave.

I do not think that anyone is going to object to this patch, so please
do apply it.

Cheers
        Nick
        



More information about the Binutils mailing list