[U-Boot] ppc -Os and _restgpr_##_x errors

Wolfgang Denk
2011-11-14T21:58:38Z

Dear Scott Wood,

In message <4EBD81A2.7000402@freescale.com> you wrote:
>
> >> i'm using a gcc-4.5.x toolchain here. should we import crtsavres.S from Linux
> >> to fix this ?
...
> > Not that this is a good approach....
>
> Shouldn't libgcc provide this?

If GCC generates such instruction sequences, it definitely should
provide support for these in libgcc. Even better if it doesn't
generate such code at all.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A woman should have compassion.
-- Kirk, "Catspaw", stardate 3018.2