On Sat, Jul 26, 2008 at 3:53 AM, kenneth johansson <[EMAIL PROTECTED]> wrote: > On Sat, 2008-07-26 at 01:48 -0400, Grant Likely wrote: >> On Thu, Jul 24, 2008 at 2:09 PM, Kenneth Johansson <[EMAIL PROTECTED]> wrote: >> > On Thu, 2008-07-24 at 10:37 -0700, vb wrote: >> >> But as you pointed out, this would work on ppc only (with a 'good' >> >> compiler), and still remains to be proven, I will get to it a bit >> >> later. >> > >> > I have run u-boot with everything compiled with -mrelocatable and normal >> > relocation fixup code removed so I know it works fine. So consider it >> > proven. But since it apparently is a problem in some situation the best >> > is probably to make it a configuration option. >> >> Can you test against various versions of gcc? That is where I ran into >> trouble. > > Well If you have a specific version you know is not working I could test > that.
gcc 4.0 worked for me. Anything newer or older seemed to behave differently. Looking at the size of the .got and .fixup sections seems to be a good indication of if things are being placed correctly. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users