[U-Boot] [PATCH v3] Switch from archive libraries to partial linking

Sebastien Carlier sebastien.carlier at gmail.com
Fri Nov 19 08:50:37 CET 2010


Dear Wolfgang,

On 2010-11-18 22:44:48, Wolfgang Denk wrote:
> > 
> > Unfortunately I have not been able to reproduce these errors with the
> > toolchain I am using (gcc 4.4.5 and binutils 2.20.1.20100303, based on
> > emdebian squeeze packages).  Can you please point me to the toolchain
> > you are using?
> 
> Are you sure this doesn't happen with your tool chain?

Weird, I tried the FPS860L configuration again and now I can see these
errors with my toolchain.  Not sure what I did wrong the first time
around.

> I found out why this happens, and I think the effect should be
> independent of the used tool chain:

Great!  I have been quite busy for the last couple days, sorry I hadn't
been able to check it out yet.

> Unfortunately I don't know how to solve this yet.  Does anybody know of
> a way how to manually arrange the objects (or symbols) in the linked
> image?

Sounds difficult once object files have been linked into a new partial
object...  I do not know if it would be practical to use sections
instead, it depends what needs to be achieved.

It looks like the purpose is to optimally fill a flash sector with
definitions, is this accurate?  Why is this needed?  Beside the obvious
(reset vectors, startup code), is there any reason to prefer any given
definition to go into the sector being filled?

Regards,
-- 
Sebastien


More information about the U-Boot mailing list