From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 14 Dec 2010 09:09:27 +0100 Subject: [U-Boot] [PATCH] powerpc/nand spl: link libgcc In-Reply-To: <20101213170611.97741001.kim.phillips@freescale.com> References: <20101210230051.GA30739@udp111988uds.am.freescale.net> <20101213170611.97741001.kim.phillips@freescale.com> Message-ID: <201012140909.27701.sr@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 On Tuesday 14 December 2010 00:06:11 Kim Phillips wrote: > On Fri, 10 Dec 2010 17:00:51 -0600 > > Scott Wood wrote: > > Recent GCC (4.4+) performs out-of-line epilogues in some cases, when > > optimizing for size. It causes a link error for _restgpr_30_x (and > > similar) if libgcc is not linked. > > > > It actually increases size with very small binaries, due to the fixed > > size of the out-of-line code, and not having any functions that actually > > need to restore more than 2 or 3 registers. But I don't see a way to > > turn it off, other than asking GCC to optimize for speed -- which may > > also increase size for some boards. > > > > Signed-off-by: Scott Wood > > --- > > Stefan, can you please pick this up with my: > > Acked-by: Kim Phillips I can do this if Wolfgang has no objections. So I'll wait a short while and pull it onto next then upstream pushing. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de