[U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build.

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Apr 25 14:10:33 CEST 2011


Wolfgang Denk <wd at denx.de> wrote on 2011/04/25 12:17:11:
>
> Dear Joakim Tjernlund,
>
> In message <OF522299D7.A02484A0-ONC125787D.003187D6-C125787D.0032F0AF at transmode.se> you wrote:
> >
> > > If in doubt, use ELDK.  All examples were compiled with ELDK 4.2 (GCC
> > > 4.2.2) for ppc_8xx.
> >
> > Have you tried gcc 4.3.x yet?
>
> No, and from the list of bugs I have seen for it (especially for ARM)
> I will not invest time and efforts on it.
>
> > I think the mistake was to include the use of -fno-jump-tables in that
> > patch too. The -msingle-pic-base part should be a NOP to all gcc's that
> > don't have it.
>
> Maybe.
>
> > > > I still don't know why it broke with your gcc but I suspect
> > > > it is due to -fno-jump-tables(which is in the msingle-pic-base patch).
> > > > Seems like that option in your case makes the code bigger.
> > >
> > > Indeed. As I cannot see any advantages, I reject this stuff, at least
> > > for now.
> >
> > Indeed? Does that mean you confirmed that -fno-jump-tables was the cause?
> > I can respin the patch without that part if so.
>
> The "indeed" refers to the "in my case your patches make the code
> bigger".  I cannot confirm anything else as I haven't tested it.

Dare I ask you try this revised patch with -fno-jump-tables removed?



More information about the U-Boot mailing list