From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 14 Dec 2010 09:09:15 +0100 Subject: [U-Boot] [PATCH] powerpc/nand spl: link libgcc In-Reply-To: <20101213174920.0669f795@udp111988uds.am.freescale.net> References: <20101210230051.GA30739@udp111988uds.am.freescale.net> <20101213231629.0478AD172D3@gemini.denx.de> <20101213174920.0669f795@udp111988uds.am.freescale.net> Message-ID: <201012140909.15727.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:49:20 Scott Wood wrote: > > Q2: What happens with older compilers, that don't need this? Is this > > change a No-Op for these? > > With compilers that don't do this, the symbol references won't be > generated, and no part of libgcc.a will be pulled in. I tested with ELDK 4.2 (gcc 4.2.2) and see no code size change with this patch applied. 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