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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Jul 26 16:03:11 CEST 2008


On 01:57 Sat 26 Jul     , Grant Likely wrote:
> On Fri, Jul 25, 2008 at 1:28 PM, kenneth johansson <kenneth at southpole.se> wrote:
> > I was afraid that what was needed was more or less a complete linker but
> > it looks like if one generate the dynamic reloc table a much simpler
> > linker(relocation function) is needed. Still probably a lot more complex
> > than the GOT and fixup code that is just a loop over a table. We may
> > need a case also ;-)
> 
> The GOT relocation works.  It works really well.  As long as gcc and
> ld put the correct GOT bits into the GOT table.  It seems not all
> versions of gcc do it in the same way with the same flags.

Why not set the code depending on the GCC version?

Best Regards,
J.




More information about the U-Boot mailing list