From: Joakim Tjernlund Date: Tue, 13 Feb 2007 19:37:16 +0100 Subject: [U-Boot-Users] [PATCH] Fixup relocation patch.] In-Reply-To: <528646bc0702130851l1befaeebwb44b6a3fb8515d72@mail.gmail.com> Message-ID: <01f001c74f9d$fd684f80$1e67a8c0@Jocke> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----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 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