[U-Boot] [PATCH] mpc83xx: Add -fpic relocation support
Scott Wood
scottwood at freescale.com
Tue Oct 12 21:20:26 CEST 2010
On Tue, 12 Oct 2010 21:13:19 +0200
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:
> Kim Phillips <kim.phillips at freescale.com> wrote on 2010/10/12 20:19:38:
> >
> > On Tue, 12 Oct 2010 19:41:56 +0200
> > Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:
> >
> > > Kim Phillips <kim.phillips at freescale.com> wrote on 2010/10/12
> 19:31:25:
> > > > that moderate size increase in start.S breaks nand builds:
> >
> > > One thing I wonder about: How come NAND_SPL need GOT2 relocs
> > > but no FIXUPs? I figured either none or both.
> >
> > I don't know; apparently FIXUPs aren't needed?
>
> Fixups are needed unless your link address == load address.
> I guess you link at the load address? If so
> you should not need to relocate the GOT either.
We do need to relocate with NAND SPL. We start in the NAND buffer,
but we have to move to RAM to free up the buffer for loading the rest
of U-Boot.
-Scott
More information about the U-Boot
mailing list