From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Fri, 28 May 2010 18:58:32 -0400 Subject: [U-Boot] [Nios2-dev] [PATCH] nios2: use gc sections to reduce image size In-Reply-To: <4C00435E.801@wytron.com.tw> References: <1275019690-4671-1-git-send-email-thomas@wytron.com.tw> <4BFF8C6E.3050706@mev.co.uk> <4C00435E.801@wytron.com.tw> Message-ID: <4C004A98.10809@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Ian Abbott wrote: >> On 28/05/2010 05:08, Thomas Chou wrote: >>> Follow the discussion of Charles Manning and Mike Frysinger. >>> Using gc_sections helps reduce image size. >> Hi Thomas, >> >> Will that stop it working with the gcc3-based nios2 nommu toolchain? >> The version of 'ld' in that toolchain doesn't support the --gc-sections >> option. >> > I have tested with the gcc3-based nios2 nommu toolchain and gc-sections > works. Same here -- no problems. --Scott