[U-Boot-Users] Changing u-boot relocation scheme

Grant Likely grant.likely at secretlab.ca
Sat Jul 26 08:06:36 CEST 2008


On Fri, Jul 25, 2008 at 2:50 PM, Haavard Skinnemoen
<haavard.skinnemoen at atmel.com> wrote:
> Ok, I'll stop the chest-beating now. But please stop trying to tell
> people that adding a powerpc-specific option (which nobody seems to
> know how really works) to the command line will work on any other
> architectures than powerpc.

You are completely right.  For the purposes of this discussion, this
is a powerpc-centric problem.  The relocation code is written in
assembly and is processor specific.  Let the ARM folks make sure ARM
relocation works (and I think it already does).  Let the MIPS folks do
the same.  Each arch has it's own set of CFLAGS and LDFLAGS needed to
produce a sane binary.  They should be picked off and fixed one arch
at a time.

BTW, searching for assignments to reloc_off in the source will tell
you which platforms are broken.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.




More information about the U-Boot mailing list