Hi,
I'm using armclang compiler Product: Professional Component: ARM Compiler 6.16
There are unused functions which are linked in the final application. There functions are coming from a library which is linked to final application, but not called in application.
How to remove these unused functions from final image ?
It would not be possible for the linker to remove used code, as that would cause the link step to fail.
Used code is any code that has a call chain growing from a defined ENTRY point. Try reviewing a callgraph.https://developer.arm.com/documentation/102284/6-16-2LTS/armlink-Reference/armlink-Command-line-Options/--callgraph----no-callgraph