[U-Boot] [PATCH] relocation: Do not relocate NULL pointers.
Joakim Tjernlund
joakim.tjernlund at transmode.se
Sat Oct 3 15:34:00 CEST 2009
Wolfgang Denk <wd at denx.de> wrote on 03/10/2009 14:13:57:
>
> Dear Joakim Tjernlund,
>
> In message <OF3474ED49.C18DA041-ONC1257644.0033ADEB-C1257644.
> 0034147E at transmode.se> you wrote:
> >
> > > It seems discussion stopped here. Is it correct forme to assume that
> > > there is no patch available yet that is considered ripe to be added
> > > (to the "reloc" branch) ?
> >
> > That is correct. Some boards(85xx) seem to have bss_start at 0 sometimes
> > and that won't play nice with this patch. Peter was looking into this but
> > seems like he isn't finished yet.
> >
> > Also, I have been looking at moving this relocation to C-code and it isn't
> > quite ready yet. What is left is to modify all ppc boards to use this new C-code
>
> So how should we proceed? My plan was to merge the "reloc" branch by
> the end of next week. Is this still realistic?
Yes, my work is not required. Actually the current u-boot also suffers from this
defect. I am only trying to future prof the relocation.
Some day we might want to do:
if (weak_fun)
weak_fun();
but today nobody is using this in u-boot.
Jocke
More information about the U-Boot
mailing list