[U-Boot] [PATCH] relocation: Do not relocate NULL pointers.

Joakim Tjernlund joakim.tjernlund at transmode.se
Sat Oct 3 11:28:51 CEST 2009



Wolfgang Denk <wd at denx.de> wrote on 03/10/2009 10:13:45:
>
> Dear Jocke & Peter,
>
> In message <OF1F14A150.6DF103F0-ONC125763F.00559936-C125763F.
> 0055D143 at transmode.se> you wrote:
> >
> > > ehh, that is strange. Did you run a make clean in between?
> > > Do you see any "bl _GLOBAL_OFFSET_TABLE_ at local-4" if you generate
> > > assembler(-S)?
> > > Maybe you had both -fPIC and -fpie defined?
> >
> > Seems like I was in a hurry, -fpie and -mrelocatable appears to silently
> > transform into -fPIE -mrelocatable so no gain there.
>
> Sorry, but I lost thread on this.
>
> 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

 Jocke



More information about the U-Boot mailing list