[U-Boot] [PATCH] at91: board specific lowlevel_init.S

Wolfgang Denk wd at denx.de
Mon Oct 27 22:20:29 CET 2008


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20081027164336.GA1778 at game.jcrosoft.org> you wrote:
>
> > I've found that weak functions are only overwritten if the overwriting 
> > function is in a file (not archive) that has strongly-linked symbols.  
> > Admittedly, I've only done this with C code but expect that the assembly 
> > equivalent works the same way.  The idea of using weak functions seems 
> > great, but suffers from some pretty cumbersome weaknesses :)
> I've found a solution but it's need to update the all u-boot linking method.
> 
> Move from AR to LD.

Well, that is exactly what Ben just described.

> Which need some work to fit on all boards.

Well, actually only the file lowlevel_init.o needs to be treated that
way, so the needed hcanges look not too complicated to me.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Unix: Some say the learning curve is steep,  but  you  only  have  to
climb it once.                                      - Karl Lehenbauer


More information about the U-Boot mailing list