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: objcopy interleave address bug ?


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
        


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