[U-Boot-Users] [PATCH] Fixup relocation patch.]

Grant Likely grant.likely at secretlab.ca
Tue Feb 13 17:51:09 CET 2007


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.

g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195




More information about the U-Boot mailing list