Re: [U-Boot] [PATCH 3/6 v2] Enable garbage collelction of unused input sections.

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469358-25023-4-git-send-email-luigi.mantell...@idf-hit.com> you wrote: Typo in subject. > When available, enable the CC -ffunction-sections option and the LD > --gc-sections in order to isolate and remove from final executable the unused > functi

[U-Boot] [PATCH 3/6 v2] Enable garbage collelction of unused input sections.

2010-12-04 Thread Luigi 'Comio' Mantellini
When available, enable the CC -ffunction-sections option and the LD --gc-sections in order to isolate and remove from final executable the unused functions. >From ld manpages: --gc-sections --no-gc-sections Enable garbage collection of unused input sections. It is ignored on targets that do