From: Wolfgang Denk Date: Mon, 14 Nov 2011 22:58:38 +0100 Subject: [U-Boot] ppc -Os and _restgpr_##_x errors In-Reply-To: <4EBD81A2.7000402@freescale.com> References: <201111092310.56181.vapier@gentoo.org> <4EBD81A2.7000402@freescale.com> Message-ID: <20111114215838.A348C140874F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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