[U-Boot] [TESTING PATCH] ppc: Relocation test patch
Joakim Tjernlund
joakim.tjernlund at transmode.se
Thu Sep 17 10:39:50 CEST 2009
Wolfgang Denk <wd at denx.de> wrote on 17/09/2009 09:50:51:
>
> Dear Joakim Tjernlund,
>
> In message <OFF85C09CB.2A4A1999-ONC1257634.0025DF59-C1257634.
> 00270B15 at transmode.se> you wrote:
> >
> > One day we can fit the whole relocation table into built-in CPU memory, hopefully
> > that will make it possible to make u-boot a true PIC exe
>
> Why is the former the prerequisite for the latter?
Some time ago I looked into making u-boot PIC and I came to the conclusion
that one must be able to modify the GOT table before we have relocated to RAM.
Perhaps there is another way but didn't see it at the time, maybe there is some
"hidden" option to gcc that I missed.
The main problem are all those string literals, these are in the fixup table
and one wants to use printf and friends before relocation to RAM.
More information about the U-Boot
mailing list