6.6.9.2 --gc-sections

Remove dead functions from code at link time.

Support is for ELF projects only. In order to make the best use of this feature, add the 
-ffunction-sections option to the compiler command line.