How about add two new configuration options(-ffunction-sections -fdata-sections)
Mon Feb 20 04:02:00 GMT 2012
Now in newlib there are cases where different functions are implemented in
one c source file.
So how about adding two configuration options like
which builds newlib with "-ffunction-sections" and "-fdata-sections"
With this, we can cut binary size with link's option "--gc-sections".
Now in gcc, libgcc/libstdc++ are built with this options defaultly for cross
Should we enable this in Newlib?
So what's your opinion on this?
More information about the Newlib