[U-Boot] [PATCH] mpc83xx: Add -fpic relocation support

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Oct 13 23:25:00 CEST 2010


> 
> Albert ARIBAUD <albert.aribaud at free.fr> wrote on 2010/10/13 11:05:09:
> > 
> > Le 13/10/2010 09:07, Joakim Tjernlund a écrit :
> > 
> > > Did you use -msingle-pic-base too with -fpic/-fPIC? This is what 
makes
> > > a difference(together with -fpic). The most interesting size is
> > > the total flash size IMHO. Reducing insn's in RAM at the expense
> > > of flash is not what most users need I think.
> > 
> > Yes, I did use -msingle-pic-base -- actually, I am the one who 
submitted 
> 
> > the patch for ARM to that effect, precisely after all my tests :) -- 
but 
> 
> > the code growth I am talking about is accesses, not setup.
> 
> Ah, that was you. That patch made me look at adding -msingle-pic-base to 

> ppc :)

Does -msingle-pic-base work on ARM for both -fpic and -fPIC?
I have a hard time making -fPIC work, I think it isn't possible
with the current impl. of -fPIC on ppc.

 Jocke


More information about the U-Boot mailing list