[U-Boot] [PATCH 2/2] PowerPC, nand_spl: Add relocation support for -fpic

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Dec 17 16:54:50 CET 2010


>
> Kim Phillips <kim.phillips at freescale.com> wrote on 2010/12/14 00:05:11:
> > On Thu, 9 Dec 2010 13:02:58 -0600
> > Scott Wood <scottwood at freescale.com> wrote:
> >
> > > On Fri, 3 Dec 2010 10:30:38 -0600
> > > "Joakim Tjernlund" <Joakim.Tjernlund at transmode.se> wrote:
> > >
> > > > By rearranging the linker script we get support for
> > > > relocation of -fpic for free.
> > > > Move __got2_entries outside _GOT2_TABLE_ defining scope
> > > > matching the rest of PowerPC
> > > >
> > > > Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> > > > ---
> > > >  nand_spl/board/freescale/mpc8313erdb/u-boot.lds |    4 +++-
> > > >  nand_spl/board/freescale/mpc8315erdb/u-boot.lds |    4 +++-
> > > >  nand_spl/board/sheldon/simpc8313/u-boot.lds     |    4 +++-
> > > >  3 files changed, 9 insertions(+), 3 deletions(-)
> > >
> > > Were you able to boot test it on at least one of the boards?
> > >
> > > If so:
> > > Acked-by: Scott Wood <scottwood at freescale.com>
> > > if Kim wants to take both of them.
> >
> > patch 1 out of 2 goes outside the 83xx domain; defaulting to Wolfgang
> > to pick up both, with my:
> >
> > Acked-by: Kim Phillips <kim.phillips at freescale.com>

These seems forgotten?

>
> Great! then we got:
> [PATCH] PowerPC: Move -fPIC flag to common place
> [PATCH] PowerPC: Add support for -msingle-pic-base

How about the above 2 patches?

   Jocke



More information about the U-Boot mailing list