[U-Boot] ELF relocation issues wrt toolchain

Wolfgang Denk wd at denx.de
Sun Oct 31 18:59:35 CET 2010


Dear Albert ARIBAUD,

In message <4CCDA4BC.2020601 at free.fr> you wrote:
> 
> I think I've got the issue pinned down.

Congrats!

> Somehow, between linker releases, the names of relocation input sections 
> have changed, which moved them out of our .rel.dyn, actually causing the 
> code not to relocate any more.
> 
> I am experimenting to find a solution that will please both 'old' and 
> 'new' linkers.

We run all linker scripts through the C preprocessor. If there is a
version dependeny, we can handle this trough an #ifdef

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
A good marriage would be between a blind wife and deaf husband.
                                               -- Michel de Montaigne


More information about the U-Boot mailing list