[U-Boot] [Nios2-dev] [PATCH] nios2: use gc sections to reduce image size

Scott McNutt smcnutt at psyent.com
Sat May 29 00:58:32 CEST 2010


> 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



More information about the U-Boot mailing list