We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
In a project, I'm using the --feedback=unused.txt control in order to remove functions from the final image that are not in use. This works fine except for those functions that are in a library which I have also included. The linker identifies all the unused functions, but is not able to remove them. Unfortunately I have very little flash memory space which makes this feature quite important for me.
I'm using MDK-ARM V3.70
Thanks for your help, Florian
Linker feedback requires a second compiler pass. Object-only libraries cannot be changed.
If you have access to the library source code, you could recompile it with --feedback or --split_sections. The latter, however, could cause other optimization issues.
Regards Marcus http://www.doulos.com/arm/