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

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Oct 12 21:13:19 CEST 2010


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.

    Jocke


More information about the U-Boot mailing list