Hi,

I wanted to use msp430-gcc v. 3.3.6 with the following idea:

- Use --ffunction-sections for compiling (each function in individual sections).
- Use --gc-section for linking to remove the sections that are not used.

Somehow when I enable --gc-sections msp430-size shows that data- and 
text-sections and gone which I checked with readelf.
But in addition to that using --function-sections seems not to work the way as 
I thought. Using gcc 4.1.2 worked for a small sample-project. The functions 
were put in individual sections, but using the mspgcc didn't work.
Is this functionality not correctly working with 3.3.6 or am I missing 
something?

thanks in advance

juergen
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Reply via email to