
Albert ARIBAUD albert.aribaud@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