[U-Boot-Users] [PATCH] Fixup relocation patch.]
Joakim Tjernlund
joakim.tjernlund at transmode.se
Tue Feb 13 19:37:16 CET 2007
> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> Of Grant Likely
> Sent: den 13 februari 2007 17:51
> To: Txema Lopez
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] [PATCH] Fixup relocation patch.]
>
> On 2/13/07, Txema Lopez <tlopez at aotek.es> wrote:
> > Grant Likely wrote:
> >
> > >I needed to add the -mrelocatable flag to the linker flags
> in cpu/ppc4xx/config.mk (I did not remove the -fPIC flag when
> I did this). Without -mrelocatable, the .fixup section would
> remain empty.
> > >
> > >
> > It's not the case of the MPC5200. It's enough with the
> -fPIC flag. It
> > could be a problem with the gcc cross compiler/linker for
> the ppc4xx.
>
> I actually tried it on the 5200 also, and I didn't get the fixup
> section without -mrelocatable. Might be a gcc version difference.
> I'm using ELDK 4.0 which uses gcc 4.0. What version of gcc are you
> using?
>
> > I'm sorry but I've got not time to do this task by now. I'm
> not sure if
> > this work must be done by only one persone or by the people
> who have the
> > equipment to test it. Anway, if you are a volunteer for me is OK.
>
> Okay, I'll take this on then.
I wonder, how far off is a fully relocatable u-boot? That is, burn it anywhere
in flash and start it from there?
Jocke
More information about the U-Boot
mailing list