[U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Apr 19 23:11:33 CEST 2011


Wolfgang Denk <wd at denx.de> wrote on 2011/04/19 22:25:25:
>
> Dear Joakim Tjernlund,
>
> In message <OF484EFF4D.45D9734B-ONC1257870.002E25B2-C1257870.002F0BE0 at transmode.se> you wrote:
> >
> > > It seems this change increases the code size somehow - which I would
> > > not expect from your comment above.  Please have a look.
> >
> > Very strange, I had a quick look(that is all I can do ATM). It appers
> > that 8xx is the only ppc arch which doesn't have its own u-boot.lds under
> > arch/powerpc/cpu/mpc8xx, is that intentional? Is it only 8xx that has this
> > problem?
>
> I did not look closer, but it appears that these boards are all boards
> that use an embedded environment, and thus their own, usually manually
> tuned linker script.
>
> > My guess would be that 8xx missed out on an earlier patch
> > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=337f5f50f539cc1ea1e0533c096e237228f12cae
>
> Or, more correctly, that this patch failed to patch these boards.
>
> Can you please provide a fix?  I'd like to get rid of this build error
> ASAP.  We could, of course, simply revert these commits.

Grepping shows a boat load of u-boot.lds files under board.  I don't
have time to patch them all ATM. They really needs to be consolidated
somehow but that is over my head.

  Jocke



More information about the U-Boot mailing list